Actually use the font

This commit is contained in:
Cadence Fish
2020-02-16 18:38:52 +13:00
parent 811fb623ee
commit b10432aa38
2 changed files with 9 additions and 1 deletions

View File

@@ -6,7 +6,11 @@ const passthrough = require("./passthrough")
const pinski = new Pinski({
port: 10407,
relativeRoot: __dirname
relativeRoot: __dirname,
basicCacheControl: {
exts: ["ttf", "woff2", "png", "jpg", "jpeg", "svg", "gif", "webmanifest", "ico"],
seconds: 604800
},
})
subdirs("pug", async (err, dirs) => {