-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
104 lines (103 loc) · 3.03 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
dangerouslyAllowSVG: true,
contentDispositionType: "attachment",
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
},
async redirects() {
return [
{
source: "/calendar",
destination:
"https://calendar.google.com/calendar/embed?src=c_5c34df00521a91d7f2eb801d614ebe2835a186c8a17fede6ad3299b0e5e02d25%40group.calendar.google.com&ctz=Europe%2FLondon&mode=AGENDA&hl=en_GB&showNav=0&showDate=0&showPrint=0&showTabs=0&showTz=0&showCalendars=0&color=%233F51B5&bgcolor=%233F51B5",
basePath: false,
permanent: true,
},
{
source: "/winter-formal",
destination:
"https://yorksu.org/events/id/4048-engineering-winter-formal",
basePath: false,
permanent: true,
},
{
source: "/join",
destination: "https://forms.gle/wrYqp8s67dr9Mf8c9",
basePath: false,
permanent: true,
},
{
source: "/discord",
destination: "https://discord.gg/nu66PUUs7N",
basePath: false,
permanent: true,
},
{
source: "/instagram",
destination: "https://www.instagram.com/yorkengsoc",
basePath: false,
permanent: true,
},
{
source: "/github",
destination: "https://github.com/YorkEngSoc",
basePath: false,
permanent: true,
},
{
source: "/linkedin",
destination: "https://www.linkedin.com/company/yorkengsoc/",
basePath: false,
permanent: true,
},
{
source: "/yorksu",
destination: "https://yorksu.org/activities/view/28",
basePath: false,
permanent: true,
},
{
source: "/pcb",
destination: "https://github.com/YorkEngSoc/intro-to-kicad",
basePath: false,
permanent: true,
},
{
source: "/winter-formal-menu",
destination: "https://forms.gle/bh8RJk7aa5YpZW3v8",
basePath: false,
permanent: true,
},
{
source: "/sumo-intro",
destination:
"https://docs.google.com/presentation/d/13D1xi-6d-WKjCjCSprtQm-3S46CodV8iwA-wrJE1CEc/edit?usp=sharing",
basePath: false,
permanent: true,
},
{
source: "/game-boy",
destination:
"https://docs.google.com/presentation/d/1JywvYww4u2e2BVhYYribAesN5vmhVgK349OLRW2jgyk/edit?usp=sharing",
basePath: false,
permanent: true,
},
{
source: "/gameboy",
destination:
"https://docs.google.com/presentation/d/1JywvYww4u2e2BVhYYribAesN5vmhVgK349OLRW2jgyk/edit?usp=sharing",
basePath: false,
permanent: true,
},
{
source: "/smt-intro",
destination:
"https://docs.google.com/presentation/d/1lRqQI8qVBzh3IBdXtIr-JHqUU8h1wDHI0Gn-0hxLB4M/edit?usp=sharing",
basePath: false,
permanent: true,
},
];
},
};
module.exports = nextConfig;