You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/dataset/ds002718 returns 404 today even though /dataset/on002718 renders correctly. The catalog has the mirror relationship (on002718 has source_id: "ds002718") and the backend already exposes /datasets/resolve/:sourceId that returns {found, dataset_id}.
Search results, external links from OpenNeuro, and any pre-existing references to the OpenNeuro id should land on the canonical on* page.
Scope
Add resolveCanonical(sourceId) helper to `src/lib/api.ts`.
In `src/pages/dataset/[id].astro`, when the param matches `^ds[0-9]{6}$`, call resolve first. If found, issue a 301 redirect to `/dataset/`. Otherwise fall through to existing logic (will 404 as today).
Pass through any `?v=` and other query params on the redirect.
Out of scope
Discover-page dedup (separate issue against nemar-cli list endpoint)
Activity