diff --git a/webapp/src/components/game/Game.js b/webapp/src/components/game/Game.js index bfb0657..3b19519 100644 --- a/webapp/src/components/game/Game.js +++ b/webapp/src/components/game/Game.js @@ -5,7 +5,8 @@ import { Container, Typography, Button, Box, Paper, Snackbar } from '@mui/materi import MuiAlert from '@mui/material/Alert'; // Define el endpoint de la API, utilizando una variable de entorno o un valor predeterminado. -const apiEndpoint = process.env.REACT_APP_API_ENDPOINT || 'http://localhost:8000'; +const apiEndpoint = process.env.REACT_APP_API_URI || 'http://localhost:8000'; + const Game = () => {