Skip to content

Commit 13c9759

Browse files
author
Cameron Streete
committed
fixed redirect
1 parent e66aac0 commit 13c9759

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

next.config.mjs

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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} */
55
const 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

Comments
 (0)