Skip to content

fix: build layout editor API URL from admin root#2165

Open
Saithej2k wants to merge 1 commit into
FlowFuse:mainfrom
Saithej2k:fix/layout-editor-api-path
Open

fix: build layout editor API URL from admin root#2165
Saithej2k wants to merge 1 commit into
FlowFuse:mainfrom
Saithej2k:fix/layout-editor-api-path

Conversation

@Saithej2k

Copy link
Copy Markdown

Summary

  • Build layout-editor save requests from the Node-RED admin root and configured dashboard path.
  • Stop deriving the admin endpoint from the browser URL, which could duplicate a custom root.
  • Cover default, shared, and different admin/node-root configurations.

Closes #2132

Testing

  • npm test: 111 passing
  • npm run lint: no errors
  • npm run build
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "Layout Editor" Save button for Dashboard Pages (when clicked) redirects to the wrong URL if altered RED.settings.httpNodeRoot

1 participant