-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnext.config.js
More file actions
44 lines (43 loc) · 1001 Bytes
/
next.config.js
File metadata and controls
44 lines (43 loc) · 1001 Bytes
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
const nextConfig = {
trailingSlash: true,
pageExtensions: ["js", "jsx", "mdx"],
images: {
domains: ["dl.airtable.com", "emoji.slack-edge.com", "github.com"],
},
async redirects() {
return [
{
source: "/resources",
destination: "https://github.com",
permanent: false,
},
{
source: "/meow",
destination: "https://github.com/exu3.png",
permanent: false,
},
{
source: "/connect",
destination: "https://connect.commandtech.dev",
permanent: false,
},
];
},
async rewrites() {
return [
{
source: "/advisors",
destination: "https://v1.commandtech.dev/advisors.html",
},
// {
// source: "/team",
// destination: "https://v1.commandtech.dev/team.html",
// },
{
source: "/clubs",
destination: "https://v1.commandtech.dev/clubs.html",
},
];
},
};
module.exports = nextConfig;