From e2639379c85714d1925501b80d5e19ce7512463b Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 13 Aug 2021 20:54:52 +0200 Subject: :bug: fix bundle listen --- bundle/src/Server.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bundle/src/Server.ts') 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 }); -- cgit 1.5.1