resolve merge

This commit is contained in:
hossein 2024-02-25 14:05:54 +03:30
parent db9ffc6b93
commit 150f5fc8c2

View file

@ -94,6 +94,9 @@ exports.expressCreateServer = (hookName:string, args:ArgsExpressType, cb:Functio
io.use(exports.socketSessionMiddleware(args)); io.use(exports.socketSessionMiddleware(args));
io.of('/pluginfw/installer').use(exports.socketSessionMiddleware(args))
io.of('/settings').use(exports.socketSessionMiddleware(args))
io.use((socket:any, next:Function) => { io.use((socket:any, next:Function) => {
socket.conn.on('packet', (packet:string) => { socket.conn.on('packet', (packet:string) => {
// Tell express-session that the session is still active. The session store can use these // Tell express-session that the session is still active. The session store can use these