-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
59 lines (59 loc) · 1.23 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
module.exports = {
reactStrictMode: true,
eslint: { ignoreDuringBuilds: true },
env: {
USER_ID: "18V8a-KBr3rQwVnIZ",
TEMPLATE_ID: "template_li1jygo",
SERVICE_ID: "service_u7hyqd6",
NEXT_PUBLIC_GA_ID: "G-HFN3SJJB67",
},
async redirects() {
return [
{
source: "/nl/bestellen",
destination: "/bestellen",
permanent: true,
},
{
source: "/nl/menukaart",
destination: "/menukaart",
permanent: true,
},
{
source: "/nl/over",
destination: "/over",
permanent: true,
},
{
source: "/pages/menu",
destination: "/menu/",
permanent: true,
},
{
source: "/pages/menukaart",
destination: "/nl/menu/",
permanent: true,
},
{
source: "/pages/contact",
destination: "/contact",
permanent: true,
},
{
source: "/pages/about",
destination: "/about",
permanent: true,
},
{
source: "/pages/order",
destination: "/order",
permanent: true,
},
{
source: "/pages/order-takeaway",
destination: "/order",
permanent: true,
},
];
},
};