Skip to content

Fix Insight toolbar: register the profiler middleware through the router, and honor enabled => false - #43

Merged
techmahedy merged 2 commits into
doppar:4.xfrom
techmahedy:techmahedy-4.x
Sep 26, 2026
Merged

techmahedy merged 2 commits into
doppar:4.xfrom
techmahedy:techmahedy-4.x

Conversation

@techmahedy

Copy link
Copy Markdown
Member

On Doppar 4.x the Insight toolbar could not be turned off, and it did not appear at all unless the app listed ProfilerMiddleware in its Gateway by hand. Both come from how ProfilerLauncher wires the middleware.

This PR registers it through the router, and always binds the configured profiler so the enabled setting is honored.

@techmahedy
techmahedy merged commit bfb3269 into doppar:4.x Sep 26, 2026
3 checks passed
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.

1 participant