From dbb5c69874e7fd1e4ef3c0d0f4fa7520f6a70c69 Mon Sep 17 00:00:00 2001 From: Steven Correia Date: Fri, 2 Sep 2022 13:42:36 -0400 Subject: [PATCH] fix: Updated Sails.js init code to properly enable/disable the proxy settings --- server/config/env/production.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/config/env/production.js b/server/config/env/production.js index 0c6c6bec..bed4f31f 100644 --- a/server/config/env/production.js +++ b/server/config/env/production.js @@ -290,7 +290,7 @@ module.exports = { * */ - trustProxy: process.env.TRUST_PROXY, + trustProxy: !!process.env.TRUST_PROXY, }, /**