-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathnext.config.js
61 lines (60 loc) · 1.3 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
/** @type {import('next').NextConfig} */
module.exports = {
logging: {
fetches: {
fullUrl: true,
},
},
images: {
remotePatterns: [
{
hostname: "data.cesko.digital",
},
{
protocol: "https",
hostname: "diskutuj.digital",
},
{
protocol: "https",
hostname: "assets.cesko.digital",
},
{
protocol: "https",
hostname: "avatars.slack-edge.com",
},
{
protocol: "https",
hostname: "ca.slack-edge.com",
},
{
protocol: "https",
hostname: "secure.gravatar.com",
},
{
protocol: "https",
hostname: "mogrfyhmal8klgqy.public.blob.vercel-storage.com",
},
],
},
async redirects() {
return [
{
source: "/market-place",
destination: "https://diskutuj.digital/c/trziste/5",
permanent: true,
},
{
source: "/projects/nezisk-digital",
destination:
"https://www.cesko.digital/projekty/nezisk-digital/kurz-nezisk-digital",
permanent: true,
},
{
source: "/projects/digitalni-partnerstvi",
destination:
"https://www.cesko.digital/projekty/digitalni-partnerstvi/home",
permanent: true,
},
];
},
};