forked from jameswilce/DevMinDArT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vercel.json
40 lines (40 loc) · 901 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
39
40
{
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@vercel/static-build",
"config": { "distDir": "." }
}
],
"routes": [
{
"src": "/dist/sw.js",
"headers": { "cache-control": "no-cache" },
"dest": "/dist/sw.js"
},
{
"src": "/(.*)\\.js$",
"headers": {
"Content-Type": "application/javascript",
"Cache-Control": "public, max-age=31536000, immutable"
}
},
{
"src": "/(.*)\\.html$",
"headers": {
"Content-Type": "text/html; charset=utf-8",
"Cache-Control": "public, max-age=31536000, immutable"
}
},
{
"src": "/(.*)\\.css$",
"headers": {
"Content-Type": "text/css",
"Cache-Control": "public, max-age=31536000, immutable"
}
},
{ "handle": "filesystem" },
{ "src": "/(.*)", "dest": "/index.html" }
]
}