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

@@ -48,7 +48,7 @@
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint .",
"prepack": "REACT_APP_GRAPHQL_URL=/graphql REACT_APP_REST_API_URL=/api yarn build"
"prepack": "yarn build"
},
"files": [
"/build"