Remove "trust proxy" as it does litterally nothing
This commit is contained in:
parent
228a2d33ee
commit
6d1e81b324
@ -19,8 +19,6 @@ module.exports = function(options) {
|
|||||||
.use(index)
|
.use(index)
|
||||||
.use(express.static("client"));
|
.use(express.static("client"));
|
||||||
|
|
||||||
app.enable("trust proxy");
|
|
||||||
|
|
||||||
var server = null;
|
var server = null;
|
||||||
var https = config.https || {};
|
var https = config.https || {};
|
||||||
var protocol = https.enable ? "https" : "http";
|
var protocol = https.enable ? "https" : "http";
|
||||||
|
Loading…
Reference in New Issue
Block a user