-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
59 lines (54 loc) · 1.54 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*******************************************************************************
* Project : thameem.me
* Filename : next.config.js
* Author : thameem
* Modified time : Sat, 26 Nov 2022 at 12:18 pm India Standard Time
******************************************************************************/
/** @type {import('next').NextConfig} */
// todo - load links from contants
const nextConfig = {
reactStrictMode: true,
images: {
domains: ['res.cloudinary.com'],
},
swcMinify: true,
i18n: {
locales: ['en'],
defaultLocale: 'en',
},
redirects() {
return [
{
source: '/instagram',
destination: 'https://www.instagram.com/k__thameem/',
permanent: true,
},
{
source: '/facebook',
destination: 'https://www.facebook.com/thameem.karakkoth/',
permanent: true,
},
{
source: '/github',
destination: 'https://github.com/thameemk/',
permanent: true,
},
{
source: '/twitter',
destination: 'https://twitter.com/k__thameem',
permanent: true,
},
{
source: '/linkedin',
destination: 'https://www.linkedin.com/in/thameem-karakkoth/',
permanent: true,
},
{
source: '/medium',
destination: 'https://medium.com/@thameem_k',
permanent: true,
},
]
}
}
module.exports = nextConfig