fix home assistant lights

This commit is contained in:
legop3
2025-11-21 01:45:29 -05:00
parent e2a3d78bc0
commit 6473b076d5
4 changed files with 34 additions and 9 deletions
+4
View File
@@ -5,4 +5,8 @@ const io = new SocketIOServer(httpServer, {
cors: { origin: '*' },
});
// Allow more service listeners without warnings.
io.sockets.setMaxListeners(30);
io.of('/').setMaxListeners(30);
module.exports = io;