change request URL

maziar3 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 Tananaev3 years ago

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

maziar3 years ago

thanks