mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Fix połączenia ws
This commit is contained in:
+2
-1
@@ -28,7 +28,8 @@ const connectToDevAPI = true;
|
||||
const socket = io(process.env.NODE_ENV === 'production' || connectToDevAPI ? URLs.stacjownikAPI : URLs.stacjownikAPIDev,
|
||||
{
|
||||
transports: ["websocket", "polling"],
|
||||
rememberUpgrade: true
|
||||
rememberUpgrade: true,
|
||||
reconnection: true
|
||||
})
|
||||
|
||||
socket.emit('connection');
|
||||
|
||||
Reference in New Issue
Block a user