Skip to content

fix(docs): Gate DiffsHub routes by site#783

Open
necolas wants to merge 1 commit into
mainfrom
diffscom-404-redirects
Open

fix(docs): Gate DiffsHub routes by site#783
necolas wants to merge 1 commit into
mainfrom
diffscom-404-redirects

Conversation

@necolas
Copy link
Copy Markdown
Contributor

@necolas necolas commented Jun 6, 2026

Adds site gating so the DiffsHub catch-all viewer route returns 404s outside diffshub builds, while preserving the legacy /gh redirect to diffshub.com.

This prevents diffs.com missing paths from rendering the DiffsHub viewer without breaking the existing /gh redirect.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 6, 2026

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

Project Deployment Actions Updated (UTC)
pierre-docs-diffs Ready Ready Preview Jun 6, 2026 1:02am
pierre-docs-diffshub Ready Ready Preview Jun 6, 2026 1:02am
pierre-docs-trees Ready Ready Preview Jun 6, 2026 1:02am
pierrejs-diff-demo Ready Ready Preview Jun 6, 2026 1:02am

Request Review

Return 404s for the DiffsHub catch-all outside diffshub builds so diffs.com misses no longer render the viewer.
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