-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathnext.config.js
47 lines (46 loc) · 1.13 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
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
poweredByHeader: false,
distDir: 'build',
redirects: async () => {
return [
{
source: '/docs',
destination: '/docs/get-started',
permanent: true,
},
{
source: '/github',
destination: 'https://github.com/diced/zipline',
permanent: true,
},
{
source: '/github-docs',
destination: 'https://github.com/diced/zipline-docs',
permanent: true,
},
{
source: '/discord',
destination: 'https://discord.gg/EAhCRfGxCF',
permanent: true,
},
{
source: '/v4/r',
destination: 'https://diced.notion.site/Zipline-v4-Roadmap-058aceb8a35140e7af4c726560aa3db1?pvs=4',
permanent: true,
},
{
source: '/v4/d',
destination: 'https://github.com/diced/zipline/discussions/433',
permanent: true,
},
{
source: '/v4/g',
destination: 'https://github.com/diced/zipline/tree/v4',
permanent: true,
},
];
},
};
module.exports = nextConfig;