diff --git a/src/server.js b/src/server.js index ac68faa..830bcb3 100644 --- a/src/server.js +++ b/src/server.js @@ -114,7 +114,9 @@ const initServer = async () => { cors: cors, path: '/notes.io', serveClient: false, - transports: ['websocket'] + transports: ['websocket'], + pingInterval: 5000, + pingTimeout: 3000 }) const notepadio = ioIns.of('/notepads') const screenio = ioIns.of('/screens')