mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-26 01:00:28 +02:00
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 a new issue