-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
39 lines (38 loc) · 1.09 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
/** @type {import('next').NextConfig} */
const nextConfig = {
async redirects() {
return [
{
source: "/invite",
destination: "https://discord.com/api/oauth2/authorize?client_id=1089552642696552488&permissions=511040&redirect_uri=https%3A%2F%2Fdiscord.gg%2FGQSGChbEKz&response_type=code&scope=bot%20applications.commands",
permanent: true,
},
{
source: "/documentation/:path*",
destination: "https://giftify.gitbook.io/:path*",
permanent: true,
},
{
source: "/support",
destination: "https://discord.gg/GQSGChbEKz",
permanent: true,
},
{
source: "/vote",
destination: "https://top.gg/bot/1089552642696552488/vote",
permanent: true,
},
{
source: "/status",
destination: "https://giftify.instatus.com",
permanent: true,
},
{
source: "/faq",
destination: "https://giftify.gitbook.io/giftify/support/frequently-asked-questions-faqs",
permanent: true,
}
];
},
};
module.exports = nextConfig;