fixed some weirdness

This commit is contained in:
Joonas 2023-02-05 13:27:24 +02:00
parent fc1efe6f1a
commit 27377849b7
1 changed files with 1 additions and 1 deletions

View File

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