Minor style changes, add new dashboard for server nodes

This commit is contained in:
lowlighter
2020-10-12 22:37:26 +02:00
parent d76b7e29ff
commit 77e5fccd37
7 changed files with 534 additions and 19 deletions

View File

@@ -45,7 +45,9 @@
})
//Base routes
app.get("/", (req, res) => res.redirect("https://github.com/lowlighter/metrics"))
app.get("/", (req, res) => res.sendFile(path.resolve("src/html", "index.html")))
app.get("/index.html", (req, res) => res.sendFile(path.resolve("src/html", "index.html")))
app.get("/placeholder.svg", (req, res) => res.sendFile(path.resolve("src/html", "placeholder.svg")))
app.get("/favicon.ico", (req, res) => res.sendStatus(204))
//Metrics