Skip to content

Commit

Permalink
2nd try to fix network issue in Game
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloGOP committed Mar 10, 2024
1 parent 03ab029 commit 621d19f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
teamname="wiq_es04a"
DB_HOST=mariadb
DB_PORT=3306
MYSQL_USER=Admin
MYSQL_PASSWORD=Xp@7qZr#3wT2
DB_NAME=base_de_datos_de_usuarios
DATABASE_URI=mongodb://mongodb:27017/questionDB
1 change: 0 additions & 1 deletion webapp/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
.env
coverage
1 change: 0 additions & 1 deletion webapp/.env

This file was deleted.

4 changes: 3 additions & 1 deletion webapp/src/pages/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import { useNavigate } from 'react-router-dom';
import { SessionContext } from '../SessionContext';
import { useContext } from 'react';

const apiEndpoint = process.env.REACT_APP_API_ENDPOINT || 'http://localhost:8000';
// const apiEndpoint = process.env.REACT_APP_API_ENDPOINT || 'http://localhost:8000';
const apiEndpoint = 'http://gatewayservice:8000';


const Game = () => {
const navigate = useNavigate();
Expand Down

0 comments on commit 621d19f

Please sign in to comment.