-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
24 lines (24 loc) · 726 Bytes
/
Copy pathvercel.json
File metadata and controls
24 lines (24 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "npm run build",
"outputDirectory": "site",
"framework": null,
"rewrites": [
{ "source": "/search", "destination": "/index.html" },
{ "source": "/search/", "destination": "/index.html" }
],
"headers": [
{
"source": "/data/index.json",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=0, s-maxage=3600, must-revalidate" }]
},
{
"source": "/sw.js",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=0, must-revalidate" }]
},
{
"source": "/manifest.webmanifest",
"headers": [{ "key": "Content-Type", "value": "application/manifest+json" }]
}
]
}