server return 504 when uploading file
I’m using multer to upload the file on the server that is working perfectly on the localhost and as soon as i deploy it to digital ocean droplet and when I hit the upload-file endpoint it waits for around 30 seconds then returns 504 bad gateway.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×