-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathnext.config.js
36 lines (35 loc) · 1.07 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
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverComponentsExternalPackages: ['@node-rs/argon2'],
},
redirects: async () => {
return [
{
source: '/discord',
destination: 'https://discord.gg/fxeRFRbhQh',
permanent: true,
basePath: false,
},
{
source: '/donate',
destination: 'https://opencollective.com/pyro-inc',
permanent: true,
basePath: false,
},
{
source: '/psal',
destination: 'https://github.com/pyrohost/legal/blob/main/licenses/PSAL.md',
permanent: true,
basePath: false,
},
{
source: '/support',
destination: 'https://pyro-host.notion.site/Help-Center-95642ed08e7746b295515d30f976f494',
permanent: true,
basePath: false,
}
];
}
};
module.exports = nextConfig;