Spaces:
Runtime error
Runtime error
Use relative API/Socket URLs for production
Browse files1233456import { io } from 'socket.io-client'
const SOCKET_URL = import.meta.env.VITE_SOCKET_URL || 'http://localhost:5000'const SOCKET_URL = import.meta.env.VITE_SOCKET_URL || undefined
let socket = nulllet currentToken = nullclient/src/features/chat/socketClient.js+1-1