-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
81 lines (80 loc) · 2.05 KB
/
Copy pathnext.config.js
File metadata and controls
81 lines (80 loc) · 2.05 KB
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
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
unoptimized: false,
},
webpack: (config, { isServer }) => {
config.resolve.alias = {
...config.resolve.alias,
'@': require('path').resolve(__dirname, './src'),
};
return config;
},
async redirects() {
return [
// Old article URL redirects
{
source: '/beyond-the-hype-why-leaders-need-bitcoin-expertise-now',
destination: '/research/beyond-the-hype',
permanent: true,
},
{
source: '/btc-as-big-as-internet-bitcoin-intelligence',
destination: '/research/bitcoin-intelligence-advantage',
permanent: true,
},
{
source: '/introduction-bitcoin-treasury-companies',
destination: '/research/SBI-001',
permanent: true,
},
{
source: '/state-of-bitcoin-payment-stack',
destination: '/research/SBI-002',
permanent: true,
},
{
source: '/switzerlands-digital-currency-strategy',
destination: '/research/SBI-003',
permanent: true,
},
{
source: '/inflation-by-design-deflation-by-technology',
destination: '/research/SBI-004',
permanent: true,
},
{
source: '/a-quantum-of-solace',
destination: '/research/SBI-005',
permanent: true,
},
{
source: '/abundant-power-real-value',
destination: '/research/SBI-006',
permanent: true,
},
{
source: '/the-rise-and-reckoning-of-the-bitcoin-treasury',
destination: '/research/SBI-007',
permanent: true,
},
// Old page redirects
{
source: '/meet-the-team',
destination: '/team',
permanent: true,
},
{
source: '/meet-the-team/:slug',
destination: '/team/:slug',
permanent: true,
},
{
source: '/switzerland-bitcoin-values',
destination: '/switzerland-bitcoin',
permanent: true,
},
];
},
}
module.exports = nextConfig