From 4eecbe3cff8b6c08107a618c1ef63bddec31bc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxi=20Quo=C3=9F?= Date: Tue, 26 Jul 2022 13:50:46 +0200 Subject: [PATCH] fix convert bool for BACKEND_IS_PROXIED !!'false' converts into true. comparing the string fixes the bool --- app/frontend/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/frontend/rollup.config.js b/app/frontend/rollup.config.js index 5c44ef94..772c6494 100644 --- a/app/frontend/rollup.config.js +++ b/app/frontend/rollup.config.js @@ -52,7 +52,7 @@ export default { }), replace({ BACKEND_PORT: JSON.stringify(process.env.BACKEND_PORT), - BACKEND_IS_PROXIED: JSON.stringify(!!process.env.BACKEND_IS_PROXIED), + BACKEND_IS_PROXIED: JSON.stringify(process.env.BACKEND_IS_PROXIED).toLowerCase() === 'true', preventAssignment: true }), // we'll extract any component CSS out into