forked from publicgoodsnetwork/pgn-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
52 lines (51 loc) · 1.48 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
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
})
module.exports = withNextra(
{
i18n: {
locales: ['en-US'],
defaultLocale: 'en-US'
},
async redirects() {
return [
{
source: '/getting-started',
destination: '/',
permanent: true
},
{
source: '/using-pgn',
destination: '/using-pgn/adding-pgn-to-a-wallet',
permanent: true
},
{
source: '/getting-started/rpc-endpoints',
destination: '/using-pgn/adding-pgn-to-a-wallet',
permanent: true
},
{
source: '/getting-started/bridge',
destination: '/using-pgn/bridging',
permanent: true
},
{
source: '/getting-started/faucet',
destination: '/using-pgn/bridging',
permanent: true
},
{
source: '/using-pgn/bridging-eth-to-pgn',
destination: '/using-pgn/bridging',
permanent: true
},
{
source: '/quick-links',
destination: '/',
permanent: true
}
]
},
}
)