8000 docs: update nuxt catch-all route to match example by Eazash · Pull Request #2638 · better-auth/better-auth · GitHub
[go: up one dir, main page]

Skip to content

docs: update nuxt catch-all route to match example #2638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025

Conversation

Eazash
Copy link
Contributor
@Eazash Eazash commented May 13, 2025

The docs refer to server/api/[...auth].ts as the path to place the server route handler. This is incorrect as it matches all routes under /api. The nuxt example correctly uses server/api/auth/[...all].ts which only matches routes under /api/auth.

This PR updates the docs to match the proper usage in the example

Copy link
vercel bot commented May 13, 2025

@Eazash is attempting to deploy a commit to the better-auth Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
pkg-pr-new bot commented May 13, 2025

Open in StackBlitz

npm i https://pkg.pr.new/better-auth/better-auth@2638
npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/cli@2638
npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/expo@2638
npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/stripe@2638

commit: 503858f

Copy link
@mrge-io mrge-io bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mrge reviewed 1 file and found no issues. Review PR in mrge.io.

@Kinfe123 Kinfe123 merged commit f5a57a1 into better-auth:main May 13, 2025
4 of 6 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
0