-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
61 lines (61 loc) · 1.68 KB
/
Copy pathvercel.json
File metadata and controls
61 lines (61 loc) · 1.68 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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"redirects": [
{
"source": "/status",
"destination": "/",
"permanent": true
},
{
"source": "/status/",
"destination": "/",
"permanent": true
},
{
"source": "/status/history",
"destination": "/history/",
"permanent": true
},
{
"source": "/status/history/",
"destination": "/history/",
"permanent": true
}
],
"rewrites": [
{
"source": "/_data/current",
"destination": "https://api.github.com/repos/GapwiseHQ/status/issues/1"
},
{
"source": "/_data/history",
"destination": "https://api.github.com/repos/GapwiseHQ/status/issues/1/comments"
}
],
"headers": [
{
"source": "/_data/current",
"headers": [
{ "key": "x-vercel-enable-rewrite-caching", "value": "1" },
{ "key": "CDN-Cache-Control", "value": "max-age=60, stale-while-revalidate=3600, stale-if-error=86400" },
{ "key": "Cache-Control", "value": "public, max-age=30" }
]
},
{
"source": "/_data/history",
"headers": [
{ "key": "x-vercel-enable-rewrite-caching", "value": "1" },
{ "key": "CDN-Cache-Control", "value": "max-age=300, stale-while-revalidate=3600, stale-if-error=86400" },
{ "key": "Cache-Control", "value": "public, max-age=60" }
]
},
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=()" }
]
}
]
}