Skip to content

Commit

Permalink
Change to other try and log
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288543 committed Apr 8, 2024
1 parent 4c1935d commit d8ce759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /app
RUN npm install

ARG API_URI="http://localhost:8000"
ARG REACT_APP_MULTIPLAYER_ENDPOINT
ARG ONLINE_URI
ENV REACT_APP_MULTIPLAYER_ENDPOINT=$ONLINE_URI
ENV REACT_APP_API_ENDPOINT=$API_URI

Expand Down
1 change: 1 addition & 0 deletions webapp/src/pages/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const apiEndpoint = process.env.REACT_APP_API_ENDPOINT || 'http://localhost:8000


const Game = () => {
console.log("apiEndpoint: ", apiEndpoint)
const navigate = useNavigate();
const MAX_ROUNDS = 3;
const SUCCESS_SOUND_ROUTE = "/sounds/success_sound.mp3";
Expand Down

0 comments on commit d8ce759

Please sign in to comment.