n8n icon indicating copy to clipboard operation
n8n copied to clipboard

feat: Add env variables to support exposing `/workflows/demo` route and `/nodes.json` route

Open alexgrozav opened this issue 1 year ago • 0 comments

Summary

  • Introduces VUE_APP_PUBLIC_WORKFLOWS_DEMO_ROUTE env variable for publicly exposing /workflows/demo route
  • Prevents loading authenticated resources when exposing /workflows/demo route
  • Introduces PUBLIC_NODES_JSON env variable for publicly exposing /nodes.json route

Related tickets and issues

https://linear.app/n8n/issue/PAY-1325/bug-preview-instance-not-accessible

Review / Merge checklist

  • [x] PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • [x] Docs updated or follow-up ticket created.
  • [x] Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests.

alexgrozav avatar Jan 31 '24 11:01 alexgrozav