change request URL

maziar4 years ago

Hello
How can I have react web ui on another port and send request on port 80?
what i do:
befor building web app I changed "REACT_APP_URL_NAME='localhost:8082'" in .env file to may URL server.
but after building, the requsets send to localhsot!!

Anton Tananaev4 years ago

You should probably change URLs in the code or implement a proxy.

maziar4 years ago

thanks