Skip to content

Commit

Permalink
REACT_APP_API_ENDPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287687 committed Mar 9, 2024
1 parent aa46ff6 commit d9e18fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
teamname="wiq_es3b"
GATEWAY_SERVICE_URL=http://gatewayservice:8000
teamname="wiq_es3b"
2 changes: 1 addition & 1 deletion webapp/src/components/Game.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {

Expand Down

0 comments on commit d9e18fd

Please sign in to comment.