@@ -4,13 +4,18 @@ const nextConfig = {
4
4
async redirects ( ) {
5
5
return [
6
6
{
7
- source : ' /advanced/' ,
8
- destination : '/' ,
7
+ source : " /advanced/" ,
8
+ destination : "/" ,
9
9
permanent : false ,
10
10
} ,
11
11
{
12
- source : '/advanced/index.html' ,
13
- destination : '/' ,
12
+ source : "/advanced/index.html" ,
13
+ destination : "/" ,
14
+ permanent : false ,
15
+ } ,
16
+ {
17
+ source : "/advanced/status.html" ,
18
+ destination : "/status.html" ,
14
19
permanent : false ,
15
20
} ,
16
21
/*
@@ -26,61 +31,66 @@ const nextConfig = {
26
31
},
27
32
*/
28
33
{
29
- source : ' /simple/previous.html' ,
30
- destination : ' /advanced/java/index.html' ,
34
+ source : " /simple/previous.html" ,
35
+ destination : " /advanced/java/index.html" ,
31
36
permanent : false ,
32
37
} ,
33
38
{
34
- source : ' /support/' ,
35
- destination : ' /support/index.html' ,
39
+ source : " /support/" ,
40
+ destination : " /support/index.html" ,
36
41
permanent : false ,
37
42
} ,
38
43
{
39
- source : '/support/api.html' ,
40
- destination : 'https://github.com/regexplanet/regexplanet-next/blob/main/CONTRIBUTING.md#backend-api' ,
44
+ source : "/support/api.html" ,
45
+ destination :
46
+ "https://github.com/regexplanet/regexplanet-next/blob/main/CONTRIBUTING.md#backend-api" ,
41
47
permanent : false ,
42
48
} ,
43
49
{
44
- source : '/support/credits.html' ,
45
- destination : 'https://github.com/regexplanet/regexplanet-next/tree/main?tab=readme-ov-file#credits' ,
50
+ source : "/support/credits.html" ,
51
+ destination :
52
+ "https://github.com/regexplanet/regexplanet-next/tree/main?tab=readme-ov-file#credits" ,
46
53
permanent : false ,
47
54
} ,
48
55
{
49
- source : ' /support/engines.html' ,
50
- destination : ' /status.html' ,
56
+ source : " /support/engines.html" ,
57
+ destination : " /status.html" ,
51
58
permanent : false ,
52
59
} ,
53
60
{
54
- source : '/support/history.html' ,
55
- destination : 'https://github.com/regexplanet/regexplanet-next/blob/main/CHANGELOG.md' ,
61
+ source : "/support/history.html" ,
62
+ destination :
63
+ "https://github.com/regexplanet/regexplanet-next/blob/main/CHANGELOG.md" ,
56
64
permanent : false ,
57
65
} ,
58
66
{
59
- source : '/support/license.html' ,
60
- destination : 'https://github.com/regexplanet/regexplanet-next/blob/main/LICENSE.txt' ,
67
+ source : "/support/license.html" ,
68
+ destination :
69
+ "https://github.com/regexplanet/regexplanet-next/blob/main/LICENSE.txt" ,
61
70
permanent : false ,
62
71
} ,
63
72
{
64
- source : ' /support/privacy.html' ,
65
- destination : ' /legal/privacy.html' ,
73
+ source : " /support/privacy.html" ,
74
+ destination : " /legal/privacy.html" ,
66
75
permanent : false ,
67
76
} ,
68
77
{
69
- source : ' /support/terms.html' ,
70
- destination : ' /legal/terms.html' ,
78
+ source : " /support/terms.html" ,
79
+ destination : " /legal/terms.html" ,
71
80
permanent : false ,
72
81
} ,
73
82
{
74
- source : '/support/todo.html' ,
75
- destination : 'https://github.com/regexplanet/regexplanet-next/blob/main/TODO.md' ,
83
+ source : "/support/todo.html" ,
84
+ destination :
85
+ "https://github.com/regexplanet/regexplanet-next/blob/main/TODO.md" ,
76
86
permanent : false ,
77
- }
87
+ } ,
78
88
/* did not work: {
79
89
source: '/advanced/:slug/',
80
90
destination: '/advanced/:slug/index.html',
81
91
permanent: false,
82
92
}, */
83
- ]
93
+ ] ;
84
94
} , } ;
85
95
86
96
export default nextConfig ;
0 commit comments