Skip to content

docs: align health route and Nitro examples#241

Merged
dcramer merged 1 commit intogetsentry:mainfrom
MisterJimson:docs/fix-health-route-docs
Apr 22, 2026
Merged

docs: align health route and Nitro examples#241
dcramer merged 1 commit intogetsentry:mainfrom
MisterJimson:docs/fix-health-route-docs

Conversation

@MisterJimson
Copy link
Copy Markdown
Contributor

@MisterJimson MisterJimson commented Apr 22, 2026

Summary

  • update quickstart, init, and troubleshooting docs to use /health instead of /api/health
  • change Nitro config examples to use "/**" so they match the junior init scaffold
  • expand the handler surface reference to document the mixed root-level and /api route layout exposed by createApp()

This corrects the docs based on what I'm seeing in the code and experiencing in my deployed instance. Let me know if you would prefer the reverse fix and update the implementation to match current docs.

Test plan

  • Run pnpm docs:check
  • Confirm packages/junior/src/app.ts mounts /health
  • Confirm packages/junior/src/cli/init.ts scaffolds "/**": { handler: "./server.ts" }

Update the quickstart and related docs to match the current Junior runtime and scaffold. This corrects the health check path to /health and changes Nitro examples to use the same /** handler route generated by junior init.

Made-with: Cursor
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

@MisterJimson is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@dcramer
Copy link
Copy Markdown
Member

dcramer commented Apr 22, 2026

🙏 thanks!

@dcramer dcramer merged commit cb40f66 into getsentry:main Apr 22, 2026
7 of 9 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.

2 participants