refactor(web): utilize REACT_APP_BACKEND_URL for GQL and REST API URLs

This commit is contained in:
Ali BARIN
2024-03-01 12:37:17 +00:00
parent 917de46c45
commit 73bd90c555
5 changed files with 34 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ cd packages/web
rm -rf .env
echo "
PORT=$WEB_PORT
REACT_APP_GRAPHQL_URL=http://localhost:$BACKEND_PORT/graphql
REACT_APP_BACKEND_URL=http://localhost:$BACKEND_PORT
" >> .env
cd $CURRENT_DIR