Skip to content

fix: serve docs clean urls on vercel#380

Merged
onmax merged 1 commit into
mainfrom
fix/issue-376-docs-refresh
Jun 30, 2026
Merged

fix: serve docs clean urls on vercel#380
onmax merged 1 commit into
mainfrom
fix/issue-376-docs-refresh

Conversation

@onmax

@onmax onmax commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Enables Vercel clean URL serving for the generated docs output and normalizes trailing slashes.

The docs build emits prerendered files like getting-started.html, but Vercel was only pointed at .output/public, so hard-refresh requests to /getting-started missed the static HTML file and returned Vercel 404 before Nuxt could hydrate. With cleanUrls enabled, nested docs URLs resolve to their generated HTML files on direct loads.

Closes #376

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxt-better-auth-docs Ready Ready Preview, Comment Jun 30, 2026 6:10am

@pkg-pr-new

pkg-pr-new Bot commented Jun 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@onmax/nuxt-better-auth@380

commit: fab88ad

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
better-auth fab88ad Jun 30 2026, 06:08 AM

@onmax onmax marked this pull request as ready for review June 30, 2026 08:01
@onmax onmax merged commit e0e813a into main Jun 30, 2026
5 of 6 checks passed
@onmax onmax deleted the fix/issue-376-docs-refresh branch June 30, 2026 08:01
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.

docs: pages broken on refresh

1 participant