summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-22 08:21:32 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-22 08:21:32 +0100
commit5a505f331a6e6ae5cb90c3e89bdcfce32ea758c4 (patch)
tree8f8a107cae4a7eb3be8fc29a028d62af53de91ae /src/Server.ts
parent:bug: fix @everyone Role on guild create (diff)
downloadserver-5a505f331a6e6ae5cb90c3e89bdcfce32ea758c4.tar.xz
:bug: fix Event Emitter
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts10
1 files changed, 5 insertions, 5 deletions
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(); } }