Current Behavior
|
function forcePageReload (err) { |
When an error occurs, forcePageReload is called and redirects user to /dashboard.
Expected Behavior
However the base path can be changed using the httpNodeRoot setting, in which case the user is presented with a 404 on error.
Instead; forcePageReload should redirect to join(httpNodeRoot || '/', 'dashboard')
Steps To Reproduce
No response
Environment
- Dashboard version: ~1.30.2
- Node-RED version: 5.0.0
- Node.js version: 24
- npm version:
- Platform/OS:
- Browser:
Have you provided an initial effort estimate for this issue?
I am not a FlowFuse team member
Current Behavior
node-red-dashboard/ui/src/main.mjs
Line 88 in 666dd4f
When an error occurs,
forcePageReloadis called and redirects user to/dashboard.Expected Behavior
However the base path can be changed using the
httpNodeRootsetting, in which case the user is presented with a 404 on error.Instead;
forcePageReloadshould redirect tojoin(httpNodeRoot || '/', 'dashboard')Steps To Reproduce
No response
Environment
Have you provided an initial effort estimate for this issue?
I am not a FlowFuse team member