process external scans and check room exists
This commit is contained in:
parent
83ab0c4ea7
commit
70d03553d7
5 changed files with 149 additions and 1 deletions
|
@ -14,6 +14,10 @@ import pScanner from "./pScanner";
|
|||
export default abstract class SocketServer {
|
||||
private static io: Server;
|
||||
|
||||
static get server() {
|
||||
return this.io;
|
||||
}
|
||||
|
||||
public static init(httpServer: httpServerType) {
|
||||
this.io = new Server(httpServer, {
|
||||
cors: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue