Minor changes
This commit is contained in:
@@ -47,9 +47,10 @@
|
||||
})
|
||||
|
||||
//Base routes
|
||||
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")))
|
||||
const statics = path.resolve("src/html")
|
||||
app.get("/", (req, res) => res.sendFile(`${statics}/index.html`))
|
||||
app.get("/index.html", (req, res) => res.sendFile(`${statics}/index.html`))
|
||||
app.get("/placeholder.svg", (req, res) => res.sendFile(`${statics}/placeholder.svg`))
|
||||
app.get("/favicon.ico", (req, res) => res.sendStatus(204))
|
||||
|
||||
//Metrics
|
||||
|
||||
Reference in New Issue
Block a user