Relative Content

Tag Archive for reactjsexpresscorsbackendvps

How to set the request URL for backend when hosting?

I’m new to this thing. Basically I have an imgupload function that makes a request to my backend. The images are uploaded to idrive e2. The backend is running on port 3000 when I run it locally. So while running locally, I set the imguploader URL to localhost:3000/api/uploads.