summary refs log tree commit diff
path: root/bundle/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 20:54:52 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 20:54:52 +0200
commitea8c47d64eab6206599008cb8646045e0d5348fc (patch)
treea94e68ab517e7d3c6dc78571a058e4a62f0012bb /bundle/src/Server.ts
parent:bug: fix util types (diff)
downloadserver-ea8c47d64eab6206599008cb8646045e0d5348fc.tar.xz
:bug: fix bundle listen
Diffstat (limited to '')
-rw-r--r--bundle/src/Server.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts

index 14abc128..aceabb99 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts
@@ -9,10 +9,9 @@ import express from "express"; import { Config } from "../../util/dist"; const app = express(); -const server = http.createServer(); +const server = http.createServer(app); const port = Number(process.env.PORT) || 8080; const production = true; -server.on("request", app); // @ts-ignore const api = new APIServer({ server, port, production, app });