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