404 page allows you to visit that user

Closes #43
This commit is contained in:
Cadence Ember
2020-03-22 17:10:50 +13:00
parent a903647eb1
commit 49ad9ee434
6 changed files with 32 additions and 25 deletions

View File

@@ -19,7 +19,6 @@ subdirs("pug", async (err, dirs) => {
// need to check for and run db upgrades before anything starts using it
await require("../lib/utils/upgradedb")()
pinski.addRoute("/404", "pug/404.pug", "pug")
pinski.setNotFoundTarget("/404")
pinski.addRoute("/static/css/main.css", "sass/main.sass", "sass")
pinski.addPugDir("pug", dirs)