mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-09 12:52:32 +01:00
fix trust_proxy_address config
This commit is contained in:
parent
1dd2cb5fe1
commit
7eeb213b6a
2
app.js
2
app.js
@ -72,7 +72,7 @@ if(config.use_view_cache) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(config.trust_proxy) {
|
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 }))
|
app.use(bodyParser.urlencoded({ extended: true }))
|
||||||
|
Loading…
Reference in New Issue
Block a user