1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-01 18:31:35 +00:00

Put port in constants

This commit is contained in:
Cadence Ember 2020-03-24 16:15:04 +13:00
parent 49ad9ee434
commit df7487de08
No known key found for this signature in database
GPG key ID: 81015DF9AA8607E1
2 changed files with 10 additions and 3 deletions

View file

@ -5,7 +5,7 @@ const constants = require("../lib/constants")
const passthrough = require("./passthrough")
const pinski = new Pinski({
port: 10407,
port: constants.port,
relativeRoot: __dirname,
basicCacheControl: {
exts: ["ttf", "woff2", "png", "jpg", "jpeg", "svg", "gif", "webmanifest", "ico"],