-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvercel.json
More file actions
88 lines (88 loc) · 1.99 KB
/
vercel.json
File metadata and controls
88 lines (88 loc) · 1.99 KB
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
{
"github": {
"silent": true
},
"cleanUrls": true,
"trailingSlash": true,
"redirects": [
{
"source": "/suggest",
"destination": "https://codetheweb.nolt.io/",
"permanent": false
},
{
"source": "/learn/",
"destination": "/",
"permanent": true
},
{
"source": "/html&css/",
"destination": "/",
"permanent": true
},
{
"source": "/20([12][0789])/([0-9][0-9])/([0-9][0-9])/(.*)",
"destination": "/$4",
"permanent": true
}
],
"rewrites": [
{
"source": "/ethical\\.json",
"destination": "https://server.ethicalads.io/api/v1/decision/?publisher=codetheweb&ad_types=text-v1&div_ids=codetheweb1&format=json"
},
{
"source": "/js/script.js",
"destination": "https://plausible.io/js/script.outbound-links.js"
},
{
"source": "/api/event/",
"destination": "https://plausible.io/api/event"
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public,max-age=3600,s-maxage=31536000"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
},
{
"key": "Permissions-Policy",
"value": "interest-cohort=()"
}
]
},
{
"source": "/(.*)\\.(png|jpg|gif|webp|mp4|webm)",
"headers": [
{
"key": "Cache-Control",
"value": "public,max-age=604800,s-maxage=31536000"
}
]
},
{
"source": "/assets/(css|js|icons|website-icons)/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public,max-age=604800,s-maxage=31536000"
}
]
},
{
"source": "/ethical\\.json",
"headers": [{ "key": "Cache-Control", "value": "no-store" }]
},
{
"source": "/demo/(.*)",
"headers": [{ "key": "X-Robots-Tag", "value": "noindex" }]
}
]
}