-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
60 lines (60 loc) · 1.42 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
module.exports = {
i18n: {
locales: ["en-GB", "fr", "de"],
defaultLocale: "en-GB",
},
images: {
domains: ["buildarmy-6a2222.ingress-earth.easywp.com"],
},
async rewrites() {
return [
{
source: "/shop/products",
has: [
{
type: "query",
key: "sale",
value: "true",
},
],
destination: "https://buildarmy.com/sale",
},
{
source: "/shop/:path*",
destination: "https://buildarmy.com/shop",
},
{
source: "/contact",
destination: "https://buildarmy.com/contact",
},
{
source: "/shipping",
destination: "https://buildarmy.com/shipping",
},
{
source: "/about-us/:path*",
destination: "https://buildarmy.com/about-us",
},
{
source: "/legal/:path*",
destination: "https://buildarmy.com/terms-conditions",
},
{
source: "/returns",
destination: "https://buildarmy.com/return-policy",
},
{
source: "/about-us/rewards-system",
destination: "https://buildarmy.com/reward-system",
},
{
source: "/account/:path*",
destination: "https://buildarmy.com/my-account",
},
{
source: "/post/6th-buildarmy-image-contest",
destination: "https://buildarmy.com/6th-buildarmy-image-contest",
},
];
},
};