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 = {
@@ -8,11 +8,10 @@ const config = {
88 async redirects ( ) {
99 return [
1010 {
11- source : "/docs/terms/:slug " ,
12- destination : "/docs/core/:slug " ,
11+ source : "/docs/terms/minimatermsandconditions#cookies " ,
12+ destination : "/docs/core/website-terms#cookies " ,
1313 permanent : true ,
1414 } ,
15-
1615 {
1716 source : "/docs/runanode/selectplatform/windows" ,
1817 destination : "/docs/run-a-node/windows" ,
@@ -64,12 +63,12 @@ const config = {
6463 permanent : true ,
6564 } ,
6665 {
67- source : "/docs/buildonminima/dapptutorial/reactminidapp/ " ,
66+ source : "/docs/buildonminima/dapptutorial/reactminidapp" ,
6867 destination : "/docs/development/react-minidapp" ,
6968 permanent : true ,
7069 } ,
7170 {
72- source : "/docs/buildonminima/txntutorial/layer1/simpletxn/ " ,
71+ source : "/docs/buildonminima/txntutorial/layer1/simpletxn" ,
7372 destination : "/docs/development/simple-txn" ,
7473 permanent : true ,
7574 } ,
@@ -84,7 +83,7 @@ const config = {
8483 permanent : true ,
8584 } ,
8685 {
87- source : "/docs/buildonminima/dappcontracts/ " ,
86+ source : "/docs/buildonminima/dappcontracts" ,
8887 destination : "/docs/development/future-cash" ,
8988 permanent : true ,
9089 } ,
@@ -119,6 +118,7 @@ const config = {
119118 permanent : true ,
120119 } ,
121120 {
121+
122122 source : "/docs/learn/minimawhitepaper/abstract" ,
123123 destination : "/docs/core/minimawhitepaper/introduction" ,
124124 permanent : true ,
@@ -134,20 +134,16 @@ const config = {
134134 permanent : true ,
135135 } ,
136136 {
137- source :
138- "/docs/learn/minimawhitepaper/smartcontractstokensandtransactions" ,
139- destination :
140- "/docs/core/minimawhitepaper/smartcontractstokensandtransactions" ,
137+ source : "/docs/learn/minimawhitepaper/smartcontractstokensandtransactions" ,
138+ destination : "/docs/core/minimawhitepaper/smartcontractstokensandtransactions" ,
141139 permanent : true ,
142140 } ,
143141 {
144- source :
145- "/docs/core/minidapp-terms#section-d-minidapp-for-transacting-public-mega-wallet" ,
146- destination :
147- "/docs/core/minidapp-terms#section-d-minidapp-for-transacting-web-public-wallet" ,
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" ,
148144 permanent : true ,
149- } ,
150- ] ;
145+ }
146+ ]
151147 } ,
152148 async headers ( ) {
153149 return [
@@ -160,8 +156,8 @@ const config = {
160156 } ,
161157 ] ,
162158 } ,
163- ] ;
159+ ]
164160 } ,
165- } ;
161+ }
166162
167- export default withMDX ( config ) ;
163+ export default withMDX ( config )
0 commit comments