forked from acousticly/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
56 lines (56 loc) · 1.43 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
module.exports = {
generateBuildId: () => 'build',
distDir: 'build',
reactStrictMode: true,
swcMinify: true,
experimental: {
optimizeCss: true,
scrollRestoration: true
},
async redirects() {
return [
{
source: '/invite',
destination:
'https://discord.com/oauth2/authorize?response_type=code&client_id=816842865732091924&scope=bot%20guilds.join%20identify%20applications.commands&permissions=8&redirect_uri',
permanent: true
},
{
source: '/support',
destination: 'https://discord.gg/8gspb92Cns',
permanent: true
},
{
source: '/vote',
destination: 'https://top.gg/bot/816842865732091924',
permanent: true
},
{
source: '/servervote',
destination: 'https://top.gg/servers/830229630950047774',
permanent: true
},
{
source: '/twitter',
destination: 'https://twitter.com/acousticlybot',
permanent: true
},
{
source: '/youtube',
destination: 'https://youtube.com/channel/UCukKSll51JBQ1t1V9MVRHeA',
permanent: true
},
{
source: '/patreon',
destination: 'https://patreon.com/acousticly',
permanent: true
},
{
source: '/discord',
destination:
'https://discord.com/servers/acoustic-community-830229630950047774',
permanent: true
}
]
}
}