website icon indicating copy to clipboard operation
website copied to clipboard

Enable client side routing in search hits (WIP)

Open andy-hook opened this issue 3 years ago • 1 comments

Testing

Prefetching only works in prod and only with absolute URLs when on the same origin. Prefetch 404 Issue appears to be that given an absolute url of:

https://www.radix-ui.com/docs/primitives/components/avatar

the next/link prefetcher asks for

(next data)/docs/primitives/components/avatar.json

when it should be

(next data)/docs/primitives/components/avatar/1.0.0.json

which it can otherwise do if it were a relative path.

andy-hook avatar Aug 10 '22 12:08 andy-hook

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
radix-website ✅ Ready (Inspect) Visit Preview Aug 10, 2022 at 0:49AM (UTC)

vercel[bot] avatar Aug 10 '22 12:08 vercel[bot]