@@ -13,8 +13,6 @@ const withMDX = require('@next/mdx')({
1313} ) 
1414
1515const  nextConfig  =  { 
16-  target : 'serverless' , 
17- 1816 pageExtensions : [ 'jsx' ,  'js' ,  'mdx' ,  'md' ,  'ts' ,  'tsx' ] , 
1917
2018 cssModules : true , 
@@ -34,41 +32,39 @@ const nextConfig = {
3432 VERSION : require ( './package.json' ) . version , 
3533 } , 
3634
37-  experimental : { 
38-  redirects ( )  { 
39-  return  [ 
40-  { 
41-  source : '/blog/others/:path*' , 
42-  permanent : true , 
43-  destination : '/posts/:path*' , 
44-  } , 
45-  { 
46-  source : '/blog/others/:path*/' , 
47-  permanent : true , 
48-  destination : '/posts/:path*' , 
49-  } , 
50-  { 
51-  source : '/blog/js/:path*' , 
52-  permanent : true , 
53-  destination : '/posts/:path*' , 
54-  } , 
55-  { 
56-  source : '/blog/js/:path*/' , 
57-  permanent : true , 
58-  destination : '/posts/:path*' , 
59-  } , 
60-  { 
61-  source : '/blog/proxy/:path*' , 
62-  permanent : true , 
63-  destination : '/posts/:path*' , 
64-  } , 
65-  { 
66-  source : '/blog/proxy/:path*/' , 
67-  permanent : true , 
68-  destination : '/posts/:path*' , 
69-  } , 
70-  ] 
71-  } , 
35+  redirects ( )  { 
36+  return  [ 
37+  { 
38+  source : '/blog/others/:path*' , 
39+  permanent : true , 
40+  destination : '/posts/:path*' , 
41+  } , 
42+  { 
43+  source : '/blog/others/:path*/' , 
44+  permanent : true , 
45+  destination : '/posts/:path*' , 
46+  } , 
47+  { 
48+  source : '/blog/js/:path*' , 
49+  permanent : true , 
50+  destination : '/posts/:path*' , 
51+  } , 
52+  { 
53+  source : '/blog/js/:path*/' , 
54+  permanent : true , 
55+  destination : '/posts/:path*' , 
56+  } , 
57+  { 
58+  source : '/blog/proxy/:path*' , 
59+  permanent : true , 
60+  destination : '/posts/:path*' , 
61+  } , 
62+  { 
63+  source : '/blog/proxy/:path*/' , 
64+  permanent : true , 
65+  destination : '/posts/:path*' , 
66+  } , 
67+  ] 
7268 } , 
7369} 
7470
0 commit comments