Skip to content

Commit 662d607

Browse files
committed
Update loadincomingEvents.ts
1 parent 62ee538 commit 662d607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/loadincomingEvents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export = class WebSocketInitializer {
3737
0,
3838
) as EventEmitter;
3939

40-
const io = socketIo(this.client.server, {
40+
const io = new socketIo.Server(this.client.server, {
4141
cors: {
4242
origin: this.client.config.website.fontendUri,
4343
methods: ["GET", "POST", "PUT", "PATCH", "DELETE"],

0 commit comments

Comments
 (0)