From 5a505f331a6e6ae5cb90c3e89bdcfce32ea758c4 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 22 Feb 2021 08:21:32 +0100 Subject: :bug: fix Event Emitter --- src/Server.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Server.ts') diff --git a/src/Server.ts b/src/Server.ts index 18bd1c7a..0c92e1b7 100644 --- a/src/Server.ts +++ b/src/Server.ts @@ -73,11 +73,11 @@ export class DiscordServer extends Server { this.app.use(ErrorHandler); const indexHTML = await fs.readFile(__dirname + "/../client_test/index.html"); - this.app.get("*", (req, res) => { - res.set("Cache-Control", "public, max-age=" + 60 * 60 * 24); - res.set("content-type", "text/html"); - res.send(indexHTML); - }); + // this.app.get("*", (req, res) => { + // res.set("Cache-Control", "public, max-age=" + 60 * 60 * 24); + // res.set("content-type", "text/html"); + // res.send(indexHTML); + // }); return super.start(); } } -- cgit 1.5.1