We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321a201 commit 888d357Copy full SHA for 888d357
1 file changed
frontend/src/components/GameUI.jsx
@@ -4,8 +4,11 @@ import Board from './Board.jsx';
4
5
6
// --- (Constantes
7
-const API_URL = 'http://127.0.0.1:8000/api/move';
8
-const API_EXPLAIN_URL = 'http://127.0.0.1:8000/api/explain';
+//ACTIVAR SI DESEA LEVANTAR EN LOCAL
+//const API_URL = 'http://127.0.0.1:8000/api/move';
9
+//const API_EXPLAIN_URL = 'http://127.0.0.1:8000/api/explain';
10
+const API_URL = 'https://prologictoe-backend.onrender.com/api/move';
11
+const API_EXPLAIN_URL = 'https://prologictoe-backend.onrender.com/api/explain';
12
const PLAYER_HUMAN = 'o';
13
const PLAYER_AI = 'x';
14
const EMPTY_CELL = 'v';
@@ -292,4 +295,4 @@ export default function GameUI() {
292
295
</button>
293
296
</div>
294
297
);
-}
298
+}
0 commit comments