Add setting for bind IP (default is still 0.0.0.0)
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user