refactor(core): Port nodes config (no-changelog) (#10140)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -57,7 +57,7 @@ export class FrontendService {
|
||||
|
||||
this.initSettings();
|
||||
|
||||
if (config.getEnv('nodes.communityPackages.enabled')) {
|
||||
if (this.globalConfig.nodes.communityPackages.enabled) {
|
||||
void import('@/services/communityPackages.service').then(({ CommunityPackagesService }) => {
|
||||
this.communityPackagesService = Container.get(CommunityPackagesService);
|
||||
});
|
||||
@@ -154,7 +154,7 @@ export class FrontendService {
|
||||
latestVersion: 1,
|
||||
path: this.globalConfig.publicApi.path,
|
||||
swaggerUi: {
|
||||
enabled: !Container.get(GlobalConfig).publicApi.swaggerUiDisabled,
|
||||
enabled: !this.globalConfig.publicApi.swaggerUiDisabled,
|
||||
},
|
||||
},
|
||||
workflowTagsDisabled: config.getEnv('workflowTagsDisabled'),
|
||||
@@ -166,7 +166,7 @@ export class FrontendService {
|
||||
},
|
||||
executionMode: config.getEnv('executions.mode'),
|
||||
pushBackend: config.getEnv('push.backend'),
|
||||
communityNodesEnabled: config.getEnv('nodes.communityPackages.enabled'),
|
||||
communityNodesEnabled: this.globalConfig.nodes.communityPackages.enabled,
|
||||
deployment: {
|
||||
type: config.getEnv('deployment.type'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user