Fix
All checks were successful
gitea/minesweeper-frontend/pipeline/head This commit looks good

This commit is contained in:
Jose134 2025-01-22 00:09:40 +01:00
parent 2c10b5f396
commit 122fbc95b2
2 changed files with 2 additions and 3 deletions

View File

@ -10,4 +10,4 @@ COPY . .
EXPOSE 5713
ENTRYPOINT ["npm", "run", "dev", "--", "--port=5713", "--host=0.0.0.0"]
ENTRYPOINT ["npm", "run", "dev", "--", "--port=5173", "--host=0.0.0.0"]

View File

@ -1,7 +1,6 @@
import process from 'process';
import { io } from 'socket.io-client';
const URL = process.env.BACKEND_URL || 'http://localhost:5174';
const URL = 'http://minesweeper-backend:5174';
export const socket = io(URL, {
autoConnect: false,
transports: ['websocket'],