diff --git a/client/src/contexts/SocketContext.jsx b/client/src/contexts/SocketContext.jsx index a1800ab..1496665 100644 --- a/client/src/contexts/SocketContext.jsx +++ b/client/src/contexts/SocketContext.jsx @@ -125,7 +125,7 @@ export const SocketProvider = ({ children }) => { const newSocket = io(APP_CONFIG.isProduction ? window.location.origin : 'http://localhost:3001', { - path: APP_CONFIG.isProduction ? `${APP_CONFIG.basePath}/socket.io/` : '/socket.io/' + path: APP_CONFIG.isProduction ? '/uggla/socket.io/' : '/socket.io/' }); newSocket.on('connect', () => {