Skip to content

Adds oembed redirect and a home for more redirects#1319

Open
eyeseast wants to merge 2 commits intomainfrom
oembed-redirect
Open

Adds oembed redirect and a home for more redirects#1319
eyeseast wants to merge 2 commits intomainfrom
oembed-redirect

Conversation

@eyeseast
Copy link
Copy Markdown
Collaborator

@eyeseast eyeseast commented Apr 15, 2026

I saw 404s on /api/oembed.json/, so this ensures we normalize the URL and redirect correctly. Once this merges, we can remove the version in the CF dashboard.

I also added a (redirects) directory so these stay in one place and don't clutter up other routes. The /app redirect is there now.

@github-actions
Copy link
Copy Markdown

Preview deployed: https://preview-1319.staging.documentcloud.org

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 15, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 58.57% 2380 / 4063
🔵 Statements 59.17% 2756 / 4657
🔵 Functions 60.52% 621 / 1026
🔵 Branches 59.34% 1460 / 2460
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/routes/(redirects)/api/oembed.json/+server.ts 0% 100% 0% 0% 4-11
Generated in workflow #1200 for commit 9797080 by the Vitest Coverage Report Action

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