Cache some semi-static data

This commit is contained in:
Cadence Ember
2020-05-04 23:50:54 +12:00
parent 8c2a4454f2
commit 12c02fd8af
7 changed files with 12 additions and 8 deletions

View File

@@ -24,6 +24,7 @@ subdirs("pug", async (err, dirs) => {
pinski.addRoute("/static/css/main.css", "sass/main.sass", "sass")
pinski.addPugDir("pug", dirs)
pinski.addSassDir("sass")
pinski.addStaticHashTableDir("html/static/js")
pinski.muteLogsStartingWith("/imageproxy")
pinski.muteLogsStartingWith("/videoproxy")
pinski.muteLogsStartingWith("/static")