mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fix: pick env from public_config for marketplace (#4648)
This commit is contained in:
parent
3fbbb846df
commit
05aedbc8a6
3 changed files with 2 additions and 2 deletions
|
|
@ -259,7 +259,7 @@ class App extends React.Component {
|
|||
switchDarkMode={this.switchDarkMode}
|
||||
darkMode={darkMode}
|
||||
/>
|
||||
{config.ENABLE_MARKETPLACE_FEATURE && (
|
||||
{window.public_config?.ENABLE_MARKETPLACE_FEATURE && (
|
||||
<AdminRoute
|
||||
exact
|
||||
path="/integrations"
|
||||
|
|
|
|||
|
|
@ -158,7 +158,6 @@ module.exports = {
|
|||
apiUrl: `${stripTrailingSlash(API_URL[environment]) || ''}/api`,
|
||||
SERVER_IP: process.env.SERVER_IP,
|
||||
COMMENT_FEATURE_ENABLE: process.env.COMMENT_FEATURE_ENABLE ?? true,
|
||||
ENABLE_MARKETPLACE_FEATURE: process.env.ENABLE_MARKETPLACE_FEATURE ?? false,
|
||||
ENABLE_MULTIPLAYER_EDITING: true,
|
||||
TOOLJET_MARKETPLACE_URL:
|
||||
process.env.TOOLJET_MARKETPLACE_URL || 'https://tooljet-plugins-production.s3.us-east-2.amazonaws.com',
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ export class AppConfigService {
|
|||
'SSO_DISABLE_SIGNUPS',
|
||||
'TOOLJET_HOST',
|
||||
'SUB_PATH',
|
||||
'ENABLE_MARKETPLACE_FEATURE',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue