-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvercel.json
38 lines (38 loc) · 954 Bytes
/
vercel.json
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
{
"env": {
"GITHUB_CLIENT_ID": "@gh-denoland-registry-client-id",
"GITHUB_CLIENT_SECRET": "@gh-denoland-registry-client-secret"
},
"build": {
"env": {
"GITHUB_CLIENT_ID": "@gh-denoland-registry-client-id",
"GITHUB_CLIENT_SECRET": "@gh-denoland-registry-client-secret"
}
},
"headers": [
{
"source": "/(_next|icons)/(.*)|/(browserconfig.xml|manifest.json|social.png)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, stale-while-revalidate=86400"
}
]
},
{
"source": "/api/x/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=60, stale-while-revalidate=1"
}
]
}
],
"rewrites": [
{
"source": "/code-of-conduct.md",
"destination": "https://raw.githubusercontent.com/denoland-id/information/master/CODE_OF_CONDUCT.md"
}
]
}