From 75a5a89985d04a475b579d43e894951dab21bc24 Mon Sep 17 00:00:00 2001 From: bidof Date: Mon, 11 Mar 2024 20:33:27 +0100 Subject: [PATCH] arreglar bug despliegue juego preguntas --- webapp/src/components/game/Game.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = () => {