Fix jwt-token

This commit is contained in:
2025-09-13 21:33:42 +02:00
parent 005a35a085
commit 6924fc5ec4

View File

@@ -125,7 +125,7 @@ export const SocketProvider = ({ children }) => {
const newSocket = io(APP_CONFIG.isProduction const newSocket = io(APP_CONFIG.isProduction
? window.location.origin ? window.location.origin
: 'http://localhost:3001', { : 'http://localhost:3001', {
path: APP_CONFIG.isProduction ? '/uggla/socket.io/' : '/socket.io/' path: '/socket.io/'
}); });
newSocket.on('connect', () => { newSocket.on('connect', () => {