This commit is contained in:
parent
bd6fdf2a9e
commit
258cc851dc
@ -1,6 +1,6 @@
|
||||
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, {
|
||||
autoConnect: false,
|
||||
transports: ['websocket'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user