fix trust_proxy_address config

This commit is contained in:
teddit 2020-12-05 11:41:49 +01:00
parent 1dd2cb5fe1
commit 7eeb213b6a
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -72,7 +72,7 @@ if(config.use_view_cache) {
}
if(config.trust_proxy) {
app.set('trust proxy', trust_proxy_address)
app.set('trust proxy', config.trust_proxy_address)
}
app.use(bodyParser.urlencoded({ extended: true }))