-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnext.config.js
39 lines (38 loc) · 1.16 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 rewrites() {
return [
{
source: "/blog",
destination: "https://blog-self-six-88.vercel.app/blog",
},
{
source: "/blog/:path*",
destination: "https://blog-self-six-88.vercel.app/blog/:path*",
},
];
},
async redirects() {
return [
{
source: "/webdev",
destination:
"https://drive.google.com/file/d/1b-puCaHl8Ys9siaok7SZZL05IV94G4wY/view?usp=sharing",
permanent: true,
},
{
source: "/devrel",
destination:
"https://drive.google.com/file/d/1Mh833p8PMYZYOqwo-D-MEpSmcuohUHYH/view?usp=sharing",
permanent: true,
},
{
source: "/mle",
destination:
"https://drive.google.com/file/d/1hZnw-vQn671sOK-3psuq4ASV_PeMIg6i/view?usp=sharing",
permanent: true,
},
];
},
};
module.exports = nextConfig;