HOTFIX: fixed a server when trying to connect to the adminRoomSocket
This commit is contained in:
parent
3c0f61d3b3
commit
0a2e967eca
@ -43,6 +43,7 @@ export class IoSocketController {
|
||||
if (token !== ADMIN_API_TOKEN) {
|
||||
console.log('Admin access refused for token: '+token)
|
||||
res.writeStatus("401 Unauthorized").end('Incorrect token');
|
||||
return;
|
||||
}
|
||||
const roomId = query.roomId as string;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user