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:
Alex Grozav
2024-02-23 18:20:12 +02:00
committed by GitHub
parent 35fb7102cb
commit 4b01335aa4
9 changed files with 59 additions and 11 deletions

View File

@@ -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;
},