feat: Add env variables to support exposing /workflows/demo route and /nodes.json route (#8506)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -85,6 +85,9 @@ export const useSettingsStore = defineStore(STORES.SETTINGS, {
|
||||
isSwaggerUIEnabled(): boolean {
|
||||
return this.api.swaggerUi.enabled;
|
||||
},
|
||||
isPreviewMode(): boolean {
|
||||
return this.settings.previewMode;
|
||||
},
|
||||
publicApiLatestVersion(): number {
|
||||
return this.api.latestVersion;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user