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

This commit is contained in:
Jose134 2025-01-22 00:52:36 +01:00
parent bd6fdf2a9e
commit 258cc851dc

View File

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