From 7eeb213b6a23ba9bdda4f0ce7d2067e6fa00ef86 Mon Sep 17 00:00:00 2001 From: teddit Date: Sat, 5 Dec 2020 11:41:49 +0100 Subject: [PATCH] fix trust_proxy_address config --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 2539b58..d0d46ae 100644 --- a/app.js +++ b/app.js @@ -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 }))