-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.mjs
53 lines (52 loc) · 1.22 KB
/
next.config.mjs
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
/** @type {import('next').NextConfig} */
const nextConfig = {
typescript: {
ignoreBuildErrors: true,
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'github.com',
port: '',
pathname: '/rkkautsar.png',
},
],
},
// keeping this to not break old redirects
async redirects() {
return [
{
'source': '/resume',
'destination': 'https://docs.google.com/document/d/1PgWmwl_aCWq2Z2RLJXyPSjpPKPs93vMcwt6e-CA0gBE/export?format=pdf',
permanent: true,
},
{
'source': '/blog',
'destination': 'https://medium.com/@rkkautsar',
permanent: true,
},
{
'source': '/linkedin',
'destination': 'https://www.linkedin.com/in/rkkautsar/',
permanent: true,
},
{
'source': '/twitter',
'destination': 'http://twitter.com/rkkautsar',
permanent: true,
},
{
'source': '/github',
'destination': 'https://github.com/rkkautsar',
permanent: true,
},
{
'source': '/instagram',
'destination': 'http://instagram.com/rakhakk',
permanent: true,
},
];
},
};
export default nextConfig;