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 });
|