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:
parent
49ad9ee434
commit
df7487de08
2 changed files with 10 additions and 3 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue