-
Notifications
You must be signed in to change notification settings - Fork 8
/
next.config.mjs
104 lines (100 loc) · 2.67 KB
/
next.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
import nextra from "nextra";
const withNextra = nextra({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.jsx",
defaultShowCopyCode: "true"
});
const nextConfig = withNextra({
async redirects() {
return [
{
source: "/",
destination: "/learn/what/what-a-datachain-is",
permanent: true,
},
{
source: '/learn/learn-about-irys/what-is-datachain',
destination: '/learn/what/what-a-datachain-is',
permanent: true,
},
{
source: '/learn/learn-about-irys/what-is-irys',
destination: '/learn/what/what-irys-is',
permanent: true,
},
{
source: '/learn/learn-about-irys/why-irys-exists',
destination: '/learn/what/why-irys-exists',
permanent: true,
},
{
source: '/learn/learn-about-irys/problems-solved',
destination: '/learn/what/how-irys-solves-these-problems',
permanent: true,
},
{
source: '/learn/learn-about-irys/what-is-a-datachain',
destination: '/learn/what/what-a-datachain-is',
permanent: true,
},
{
source: '/learn/why-build-on-irys/programmable-data',
destination: '/learn/why/why-programmable-data',
permanent: true,
},
{
source: '/learn/why-build-on-irys/verifiability',
destination: '/learn/why/why-verifiability',
permanent: true,
},
{
source: '/learn/why-build-on-irys/irysvm',
destination: '/learn/why/why-irysvm',
permanent: true,
},
{
source: '/learn/network/miners',
destination: '/learn/network-overview/becoming-a-miner-on-irys',
permanent: true,
},
{
source: '/learn/network/bundler',
destination: '/learn/network-overview/bundling-transactions',
permanent: true,
},
{
source: '/learn/network/gateway',
destination: '/learn/network-overview/irys-gateway',
permanent: true,
},
{
source: '/learn/protocol/partitions',
destination: '/learn/protocol-overview/partitions-overview',
permanent: true,
},
{
source: '/learn/protocol/ledgers',
destination: '/learn/protocol-overview/ledgers-overview',
permanent: true,
},
{
source: '/learn/protocol/transactions',
destination: '/learn/protocol-overview/transactions-overview',
permanent: true,
},
{
source: '/learn/mining-on-irys/matrix-packing',
destination: '/learn/protocol-overview/matrix-packaging-overview',
permanent: true,
},
{
source: '/learn/mining-on-irys/efficient-sampling',
destination: '/learn/protocol-overview/efficient-sampling-overview',
permanent: true,
},
];
},
});
// If you have other Next.js configurations, you can pass them as the parameter:
// const nextConfig = withNextra({ /* other next.js config */ });
export default nextConfig;