summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
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(); } }