generated from the-innovation-circuit/theme-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
34 lines (34 loc) · 1.04 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
const withMDX = require('@next/mdx')({ extension: /\.mdx?$/ })
module.exports = withMDX({
pageExtensions: ['js', 'jsx', 'mdx'],
images: {
domains: [
'cloud-okol6b1vm-hack-club-bot.vercel.app',
'cloud-qmweg7d8y-hack-club-bot.vercel.app'
]
},
async redirects() {
return [
{
source: '/finals',
destination: 'https://www.youtube.com/watch?v=qG6guY4eb2k', // Matched parameters can be used in the destination
permanent: false,
},
{
source: '/inr',
destination: 'http://posters.innovation-challenge.co/inr', // Matched parameters can be used in the destination
permanent: true,
},
{
source: '/aud',
destination: 'http://posters.innovation-challenge.co/aud', // Matched parameters can be used in the destination
permanent: true,
},
{
source: '/krw',
destination: 'http://posters.innovation-challenge.co/krw', // Matched parameters can be used in the destination
permanent: true,
}
]
},
})