Skip to content

Commit 41f520a

Browse files
committed
fix(docs): stop redirecting /auth/quickstart away from its own index
The 302 to /auth/quickstart/react was a workaround for the folder having no index page. It has one now, and the redirect shadowed it — the URL the landing links to never rendered the overview. Exactly the case the "TEMPORARY (302) on purpose" comment was written for, so nothing is cached hard and this takes effect immediately. check-links can't catch it: it crawls prerendered HTML and the page file exists — the redirect only applies at request time.
1 parent 43a504e commit 41f520a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

next.config.mjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,8 @@ export default withNextra({
3232
destination: '/auth/guides/migrate-from-auth0',
3333
permanent: false
3434
},
35-
{
36-
source: '/auth/quickstart',
37-
destination: '/auth/quickstart/react',
38-
permanent: false
39-
},
35+
// NOTE: /auth/quickstart is NOT here — it has a real index page now, and
36+
// a redirect would shadow it. This is why these are 302s.
4037
{
4138
source: '/auth/extensibility',
4239
destination: '/auth/extensibility/actions',

0 commit comments

Comments
 (0)