Skip to content

Commit cfe0d2d

Browse files
Trying to fix endless redirect loop (#16363)
1 parent d1e4879 commit cfe0d2d

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

docs-v2/next.config.mjs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,17 @@ export default withNextra({
323323
},
324324
{
325325
source: "/components/",
326-
destination: "/workflows/contributing/components/",
326+
destination: "/components/contributing/",
327327
permanent: true,
328328
},
329329
{
330-
source: "/components/:path*/",
331-
destination: "/workflows/contributing/components/:path*/",
330+
source: "/components/api/",
331+
destination: "/components/contributing/api/",
332+
permanent: true,
333+
},
334+
{
335+
source: "/components/quickstart/:path*/",
336+
destination: "/components/contributing/:path*/",
332337
permanent: true,
333338
},
334339
{

pnpm-lock.yaml

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)