mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Add setting for bind IP (default is still 0.0.0.0)
This commit is contained in:
parent
c9ac37c586
commit
8398049f02
2 changed files with 6 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ const passthrough = require("./passthrough")
|
|||
|
||||
const pinski = new Pinski({
|
||||
port: +process.env.PORT || constants.port,
|
||||
ip: constants.bind_ip,
|
||||
relativeRoot: __dirname,
|
||||
basicCacheControl: {
|
||||
exts: ["ttf", "woff2", "png", "jpg", "jpeg", "svg", "gif", "webmanifest", "ico"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue