forked from iron-fish/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
140 lines (139 loc) · 3.71 KB
/
next.config.js
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
i18n: {
locales: ["en"],
defaultLocale: "en",
},
async redirects() {
return [
{
source: "/about",
destination: "/company/about-us",
permanent: true,
},
{
source: "/faq",
destination: "/learn/faq",
permanent: true,
},
{
source: "/careers",
destination: "https://jobs.lever.co/ironfish",
permanent: false,
},
{
source: "/use/get-started",
destination: "/use/get-started/get-started",
permanent: false,
},
{
source: "/learn/whitepaper",
destination: "/learn/whitepaper/introduction",
permanent: false,
},
{
source: "/developers/documentation",
destination: "/developers/documentation/integration_local",
permanent: false,
},
{
source: "/use/wallet",
destination: "/use/node-app",
permanent: true,
},
{
source: "/docs/onboarding/iron-fish-tutorial",
destination: "/use/get-started/installation",
permanent: true,
},
{
source: "/docs/whitepaper/1_introduction",
destination: "/learn/whitepaper/introduction",
permanent: true,
},
{
source: "/docs/onboarding/installation-iron-fish",
destination: "/use/get-started/installation",
permanent: true,
},
{
source: "/docs/onboarding/miner-iron-fish",
destination: "/use/get-started/mining",
permanent: true,
},
{
source: "/tokenomics",
destination: "/learn/tokenomics",
permanent: true,
},
{
source: "/docs/onboarding/iron-fish-wallet-commands",
destination: "/use/get-started/cli-how-to-use",
permanent: true,
},
{
source: "/docs/onboarding/start-an-iron-fish-node",
destination: "/use/get-started/run-a-node",
permanent: true,
},
{
source: "/docs/whitepaper/4_mining",
destination: "/learn/whitepaper/mining",
permanent: true,
},
{
source: "/docs/onboarding/iron-fish-cli",
destination: "/use/get-started/cli-how-to-use",
permanent: true,
},
{
source: "/docs/whitepaper/5_account",
destination: "/learn/whitepaper/account",
permanent: true,
},
{
source: "/docs/onboarding/send-receive-iron-fish-transactions",
destination: "/use/get-started/transactions",
permanent: true,
},
{
source: "/docs/onboarding/iron-fish-node-health",
destination: "/use/get-started/node-health",
permanent: true,
},
{
source: "/docs/whitepaper/3_storage",
destination: "/learn/whitepaper/storage",
permanent: true,
},
{
source: "/docs/whitepaper/7_consensus_verification",
destination: "/learn/whitepaper/consensus-verification",
permanent: true,
},
{
source: "/docs/whitepaper/2_networking",
destination: "/learn/whitepaper/networking",
permanent: true,
},
{
source: "/docs/whitepaper/6_transaction",
destination: "/learn/whitepaper/transaction",
permanent: true,
},
{
source: "/docs/onboarding/rpc/chain",
destination:
"/developers/documentation/rpc/chain/broadcast_transaction",
permanent: true,
},
{
source: "/docs/onboarding/rpc/node",
destination: "/developers/documentation/rpc/node/get_log_stream",
permanent: true,
},
];
},
};
module.exports = nextConfig;