Loading src/webserver.ts +5 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,11 @@ class Webserver_ { constructor() { this.app = express(); if (process.env.NODE_ENV === "production") { this.app.enable("trust proxy"); this.app.set("trust proxy", true); } this.app.use(morgan("tiny")); this.app.get("/", (req, res) => { Loading Loading
src/webserver.ts +5 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,11 @@ class Webserver_ { constructor() { this.app = express(); if (process.env.NODE_ENV === "production") { this.app.enable("trust proxy"); this.app.set("trust proxy", true); } this.app.use(morgan("tiny")); this.app.get("/", (req, res) => { Loading