Skip to content

feat: add configurable RoutePrefix to DebugProbeOptions#134

Open
DevSars24 wants to merge 1 commit into
DebugProbe:mainfrom
DevSars24:feature/configurable-dashboard-route
Open

feat: add configurable RoutePrefix to DebugProbeOptions#134
DevSars24 wants to merge 1 commit into
DebugProbe:mainfrom
DevSars24:feature/configurable-dashboard-route

Conversation

@DevSars24

Copy link
Copy Markdown
Contributor

What

Adds a configurable RoutePrefix property to DebugProbeOptions so the DebugProbe dashboard can be mounted at any path instead of the hardcoded /debug.

Why

If a host application already uses /debug for something else, there was no way to change the DebugProbe route.

How

  • DebugProbeOptions — new RoutePrefix property, defaults to /debug
  • DebugProbeExtensions — all routes now use options.RoutePrefix
  • DebugProbeMiddleware — already handles it dynamically via _options.RoutePrefix

Testing

All 61 existing tests pass. No breaking changes.

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