Skip to content

Commit 8375406

Browse files
committed
.
1 parent 9146389 commit 8375406

File tree

1 file changed

+23
-30
lines changed

1 file changed

+23
-30
lines changed

next.config.mjs

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,11 @@ const nextConfig = {
2525
permanent: true,
2626
},
2727
//
28-
// {
29-
// source: '/xr',
30-
// destination: '/xr/getting-started/introduction',
31-
// permanent: true,
32-
// },
3328
{
34-
source: '/xr/:slug*',
35-
destination: 'https://pmndrs.github.io/xr/docs/:slug*',
29+
source: '/xr',
30+
destination: '/xr/getting-started/introduction',
3631
permanent: true,
3732
},
38-
3933
{
4034
source: '/jotai',
4135
destination: 'https://jotai.pmnd.rs/docs/introduction',
@@ -46,7 +40,6 @@ const nextConfig = {
4640
destination: 'https://jotai.pmnd.rs/docs/:slug*',
4741
permanent: true,
4842
},
49-
5043
{
5144
source: '/react-spring',
5245
destination: 'https://react-spring.io',
@@ -57,47 +50,47 @@ const nextConfig = {
5750
destination: 'https://react-spring.io/#:slug*',
5851
permanent: true,
5952
},
60-
61-
// {
62-
// source: '/drei',
63-
// destination: 'https://pmndrs.github.io/drei',
64-
// permanent: true,
65-
// },
66-
// {
67-
// source: '/drei/:slug*',
68-
// destination: 'https://github.com/pmndrs/drei/:slug*',
69-
// permanent: true,
70-
// },
71-
72-
// {
73-
// source: '/react-three-fiber/:slug*',
74-
// destination: 'https://pmndrs.github.io/react-three-fiber/:slug*',
75-
// permanent: true,
76-
// },
77-
53+
{
54+
source: '/drei',
55+
destination: 'https://pmndrs.github.io/drei',
56+
permanent: true,
57+
},
58+
{
59+
source: '/drei/:slug*',
60+
destination: 'https://github.com/pmndrs/drei#:slug*',
61+
permanent: true,
62+
},
63+
//
64+
{
65+
source: '/react-three-fiber/:slug*',
66+
destination: 'https://pmndrs.github.io/react-three-fiber/:slug*',
67+
permanent: true,
68+
},
7869
{
7970
source: '/zustand/:slug*',
8071
destination: 'https://pmndrs.github.io/zustand/:slug*',
8172
permanent: true,
8273
},
83-
8474
{
8575
source: '/a11y/:slug*',
8676
destination: 'https://pmndrs.github.io/react-three-a11y/:slug*',
8777
permanent: true,
8878
},
89-
9079
{
9180
source: '/react-postprocessing/:slug*',
9281
destination: 'https://pmndrs.github.io/react-postprocessing/:slug*',
9382
permanent: true,
9483
},
95-
9684
{
9785
source: '/uikit/:slug*',
9886
destination: 'https://pmndrs.github.io/uikit/docs/:slug*',
9987
permanent: true,
10088
},
89+
{
90+
source: '/xr/:slug*',
91+
destination: 'https://pmndrs.github.io/xr/docs/:slug*',
92+
permanent: true,
93+
},
10194
]
10295
},
10396
}

0 commit comments

Comments
 (0)