Allow serving other than root of site, fixes #249
This commit is contained in:
1 parent
02b6c617c5
commit
2373bf44d8
3 files changed
+17
-5
No files matched your search
+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