Make trustProxy configurable via environment variable

This commit is contained in:
dbrennand
2021-10-21 01:24:19 +05:00
committed by GitHub
parent 07e58ffe0c
commit 729e5dac5e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ module.exports = {
*
*/
// trustProxy: true,
trustProxy: process.env.TRUST_PROXY,
},
/**