mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
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:
@@ -359,6 +359,14 @@ export const routes = [
|
||||
},
|
||||
meta: {
|
||||
middleware: ['authenticated'],
|
||||
middlewareOptions: {
|
||||
authenticated: {
|
||||
bypass: () => {
|
||||
const settingsStore = useSettingsStore();
|
||||
return settingsStore.isPreviewMode;
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user