-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
100 lines (96 loc) · 2.92 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
module.exports = {
async rewrites() {
const baseUrl = 'https://landing.planb.net';
return [
{
source: '/js/p.js',
destination: 'https://plausible.io/js/plausible.js'
},
{
source: '/api/event', // Or '/api/event/' if you have `trailingSlash: true` in this config
destination: 'https://plausible.io/api/event'
},
{
source: '/de-m365-modernmanagedservice',
destination: `${baseUrl}/de-m365-modernmanagedservice`
},
{
source: '/en-m365-modernmanagedservice',
destination: `${baseUrl}/en-m365-modernmanagedservice`
},
{
source: '/de-azure-modernmanagedservice',
destination: `${baseUrl}/de-azure-modernmanagedservice`
},
{
source: '/en-azure-modernmanagedservice',
destination: `${baseUrl}/en-azure-modernmanagedservice`
},
{
source: '/de-useradoptionchangemanagement',
destination: `${baseUrl}/de-useradoptionchangemanagement`
},
{
source: '/en-useradoptionchangemanagement',
destination: `${baseUrl}/en-useradoptionchangemanagement`
},
{
source: '/cloud-native-apps',
destination: `${baseUrl}/cloud-native-apps`
},
{
source: '/uxui-mitgestaltergesucht',
destination: `${baseUrl}/uxui-mitgestaltergesucht`
},
{
source: '/ausbildung',
destination: `${baseUrl}/ausbildung`
},
{
source: '/co-innovation-plattform',
destination: `${baseUrl}/co-innovation-plattform`
},
{
source: '/vhv',
destination: `${baseUrl}/vhv`
}
];
},
async redirects() {
return [
{
source: '/join-us',
destination: '/karriere',
permanent: true
},
{
source: '/company-information',
destination: '/imprint',
permanent: true
},
{
source: '/privacy',
destination: '/datenschutz',
permanent: true
},
{
source: '/home',
destination: '/',
permanent: true
},
]
},
async headers() {
return [
{
source: '/',
headers: [
{
key: 'X-Frame-Options',
value: 'DENY'
}
]
}
]
}
}