1- import createMDX from "fumadocs-mdx/config"
2- const withMDX = createMDX ( )
1+ import createMDX from "fumadocs-mdx/config" ;
2+ const withMDX = createMDX ( ) ;
33
44/** @type {import('next').NextConfig } */
55const config = {
@@ -9,7 +9,7 @@ const config = {
99 return [
1010 {
1111 source : "/docs/terms/minimatermsandconditions#cookies" ,
12- destination : "docs/core/website-terms#cookies" ,
12+ destination : "/ docs/core/website-terms#cookies" ,
1313 permanent : true ,
1414 } ,
1515 {
@@ -118,7 +118,6 @@ const config = {
118118 permanent : true ,
119119 } ,
120120 {
121-
122121 source : "/docs/learn/minimawhitepaper/abstract" ,
123122 destination : "/docs/core/minimawhitepaper/introduction" ,
124123 permanent : true ,
@@ -134,21 +133,20 @@ const config = {
134133 permanent : true ,
135134 } ,
136135 {
137- source : "/docs/learn/minimawhitepaper/smartcontractstokensandtransactions" ,
138- destination : "/docs/core/minimawhitepaper/smartcontractstokensandtransactions" ,
136+ source :
137+ "/docs/learn/minimawhitepaper/smartcontractstokensandtransactions" ,
138+ destination :
139+ "/docs/core/minimawhitepaper/smartcontractstokensandtransactions" ,
139140 permanent : true ,
140141 } ,
141142 {
142- source : "/docs/core/minidapp-terms#section-d-minidapp-for-transacting-public-mega-wallet" ,
143- destination : "/docs/core/minidapp-terms#section-d-minidapp-for-transacting-web-public-wallet" ,
143+ source :
144+ "/docs/core/minidapp-terms#section-d-minidapp-for-transacting-public-mega-wallet" ,
145+ destination :
146+ "/docs/core/minidapp-terms#section-d-minidapp-for-transacting-web-public-wallet" ,
144147 permanent : true ,
145148 } ,
146- {
147- source : "/docs/terms/minimatermsandconditions#cookies" ,
148- destination : "/docs/core/website-terms#cookies" ,
149- permanent : true ,
150- }
151- ]
149+ ] ;
152150 } ,
153151 async headers ( ) {
154152 return [
@@ -161,8 +159,8 @@ const config = {
161159 } ,
162160 ] ,
163161 } ,
164- ]
162+ ] ;
165163 } ,
166- }
164+ } ;
167165
168- export default withMDX ( config )
166+ export default withMDX ( config ) ;
0 commit comments