-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.mjs
More file actions
22 lines (20 loc) · 621 Bytes
/
next.config.mjs
File metadata and controls
22 lines (20 loc) · 621 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import nextra from "nextra";
const withNextra = nextra({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.tsx",
});
export default withNextra({
redirects: async () => [
{
source: "/discord",
destination: "https://discord.gg/WFfjrQxnfH",
permanent: false,
},
{
source: "/invite",
destination:
"https://discord.com/api/oauth2/authorize?client_id=928966154817523723&permissions=964756499798&redirect_uri=https%3A%2F%2Fdash-lucy.is-a.fun%2Fapi%2Fcallback&response_type=code&scope=bot%20applications.commands%20guilds",
permanent: false,
},
],
});