fix: Make webapp package env variables dynamic

This commit is contained in:
Ahmed Bouhuolia
2024-08-25 18:21:08 +02:00
parent 1eaac9d691
commit 2072e35cfa
12 changed files with 186 additions and 118 deletions

View File

@@ -246,8 +246,11 @@ module.exports = {
apiKey: process.env.LOOPS_API_KEY,
},
oneClickDemoAccounts: parseBoolean(
process.env.ONE_CLICK_DEMO_ACCOUNTS,
false
),
/**
* One-click demo accounts.
*/
oneClickDemoAccounts: {
enable: parseBoolean(process.env.ONE_CLICK_DEMO_ACCOUNTS, false),
demoUrl: process.env.ONE_CLICK_DEMO_ACCOUNTS_URL || '',
},
};