diff --git a/.env b/.env index 9dbc766a..e2c6eee0 100644 --- a/.env +++ b/.env @@ -1,2 +1 @@ -teamname="wiq_es3b" -GATEWAY_SERVICE_URL=http://gatewayservice:8000 \ No newline at end of file +teamname="wiq_es3b" \ No newline at end of file diff --git a/webapp/src/components/Game.jsx b/webapp/src/components/Game.jsx index 88456bf7..1dea9ae8 100644 --- a/webapp/src/components/Game.jsx +++ b/webapp/src/components/Game.jsx @@ -7,7 +7,7 @@ import { PostGame } from './PostGame' const N_QUESTIONS = 10 const MAX_TIME = 600; -const gatewayUrl=process.env.GATEWAY_SERVICE_URL||"http://localhost:8000" +const gatewayUrl=process.env.REACT_APP_API_ENDPOINT||"http://localhost:8000" const Question = ({ goTo, setGameFinished }) => {