From 27377849b75ebfd1202cfbe26fac6fb9457c07c5 Mon Sep 17 00:00:00 2001 From: Joonas Date: Sun, 5 Feb 2023 13:27:24 +0200 Subject: [PATCH] fixed some weirdness --- web/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/index.js b/web/index.js index 53cc193..ae31847 100644 --- a/web/index.js +++ b/web/index.js @@ -14,7 +14,7 @@ app.get("/api/v1/commands/:name", (req, res) => { res.json(client.commands[req.params.name]); }); -app.get("/", (req, res) => { +app.get("*", (req, res) => { res.sendFile(path + "index.html"); });