fixed some weirdness
This commit is contained in:
parent
fc1efe6f1a
commit
27377849b7
|
@ -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");
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue