summary refs log tree commit diff
path: root/gateway/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 22:57:46 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 22:57:46 +0200
commit194ef5478eb48d870c5d8844f1be6393dcd37ffa (patch)
treedf2f00bad728d42771e7c7131ee408455117f6ea /gateway/src/Server.ts
parentMerge branch 'master' of https://github.com/fosscord/fosscord-api (diff)
downloadserver-194ef5478eb48d870c5d8844f1be6393dcd37ffa.tar.xz
:construction: fix server bundle
Diffstat (limited to '')
-rw-r--r--gateway/src/Server.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/gateway/src/Server.ts b/gateway/src/Server.ts

index c2bc9c47..a50c24a6 100644 --- a/gateway/src/Server.ts +++ b/gateway/src/Server.ts
@@ -23,6 +23,8 @@ export class Server { }); this.server.on("upgrade", (request, socket, head) => { + console.log("socket requests upgrade", request.url); + // @ts-ignore this.ws.handleUpgrade(request, socket, head, (socket) => { this.ws.emit("connection", socket, request); });