Remove "trust proxy" as it does litterally nothing

This commit is contained in:
Maxime Poulin 2016-03-19 17:43:35 -04:00
parent 228a2d33ee
commit 6d1e81b324

View File

@ -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";