From 67cc4914014c91a30c3e3a55ae25acb264a76ffb Mon Sep 17 00:00:00 2001 From: deleteLater Date: Thu, 5 May 2022 22:19:20 +0800 Subject: [PATCH] fix: not working in dev environment --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index fe70b29..49e0887 100644 --- a/src/config.js +++ b/src/config.js @@ -6,7 +6,7 @@ const secret = queryParams['secret']; const prod = queryParams['prod']; const configBase = { options: { - ...(!prod) && {api: 'https://api-dev.featureflag.co'}, + ...(prod === 'false') && {api: 'https://api-dev.featureflag.co'}, secret, bootstrap: [] }