-
Notifications
You must be signed in to change notification settings - Fork 1
/
next.config.js
45 lines (44 loc) · 1.02 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
const withMDX = require('@next/mdx')({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
rehypePlugins: [],
},
})
module.exports = withMDX({
pageExtensions: ['ts', 'tsx', 'mdx'],
reactStrictMode: true,
async redirects() {
return [
{
source: '/prospectus',
destination: '/MAHacks_VI_Sponsorship_Prospectus_20220122.pdf',
permanent: false,
}, {
source: '/poster',
destination: '/MAHacks_VI_Attendee_Poster_20220123_1.pdf',
permanent: false,
}, {
source: '/about',
destination: '/#how-it-works',
permanent: true,
}, {
source: '/past-events',
destination: '/#previous',
permanent: true,
}, {
source: '/sponsor',
destination: '/#sponsors',
permanent: true,
}, {
source: '/subscribe',
destination: '/register',
permanent: false,
}, {
source: '/join',
destination: '/register',
permanent: true,
},
]
},
})