Put port in constants

This commit is contained in:
Cadence Ember
2020-03-24 16:15:04 +13:00
parent 49ad9ee434
commit df7487de08
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"],