Allow serving other than root of site, fixes #249
This commit is contained in:
+1
-1
@@ -494,7 +494,7 @@ function isPathAlreadyTaken(url)
|
||||
*/
|
||||
async function runWebSocketServer()
|
||||
{
|
||||
io = require('socket.io')(mainListener);
|
||||
io = require('socket.io')(mainListener, { path: '/' });
|
||||
|
||||
io.use(
|
||||
sharedSession(session, {
|
||||
|
||||
Reference in New Issue
Block a user