You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to deploy my website on AWS S3 as a static website.
I'm running into problem because I can't find where to define the API_BASE_URL for axios post/get requests to my backend.
The instructions for defining this on the dev server is clear: API_BASE_URL=http://custom.backend:8000 yarn dev
As far as I can see, the API_BASE_URL is only used for testing. Where do I set the backend url for production build?
The text was updated successfully, but these errors were encountered:
I am trying to deploy my website on AWS S3 as a static website.
I'm running into problem because I can't find where to define the API_BASE_URL for axios post/get requests to my backend.
The instructions for defining this on the dev server is clear:
API_BASE_URL=http://custom.backend:8000 yarn dev
As far as I can see, the API_BASE_URL is only used for testing. Where do I set the backend url for production build?
The text was updated successfully, but these errors were encountered: