mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Store more in database for complete fallback
This commit is contained in:
parent
9e008e5ec8
commit
d95f6950c4
7 changed files with 105 additions and 23 deletions
|
|
@ -16,6 +16,9 @@ const pinski = new Pinski({
|
|||
subdirs("pug", async (err, dirs) => {
|
||||
if (err) throw err
|
||||
|
||||
// need to check for and run db upgrades before anything starts using it
|
||||
await require("../lib/utils/upgradedb")()
|
||||
|
||||
//pinski.addRoute("/", "pug/index.pug", "pug")
|
||||
pinski.addRoute("/static/css/main.css", "sass/main.sass", "sass")
|
||||
pinski.addPugDir("pug", dirs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue