api - ReactJS - App Issues after Deployment -
i started first website reactjs.
question 1 on localhost run backend on port=3001 , app on port=3000. using react-scripts build created build frontend, looks "proxy": "http://localhost:3001" not taken under consideration when creating build.
now after deployment on server api calls returning 404 never go port 3001.
how can pass proxy build?
question 2 on local machine run react-scripts start can directly access  http://localhost:3000/login, on server have start http://example.com/ , use navigation login.
how can better handle urls?
thank you, vanessa
 
 
Comments
Post a Comment