forked from lecepin/gen-brand-photo-pictrue
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathvercel.json
37 lines (37 loc) · 921 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
{
"installCommand": "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source $HOME/.cargo/env && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -y && npm install",
"buildCommand": "source $HOME/.cargo/env && npm run build",
"git": {
"deploymentEnabled": {
"feature/update": false,
"gh-pages": false
}
},
"github": {
"autoJobCancelation": false
},
"headers": [
{
"source": "/sw.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=0, must-revalidate"
}
]
},
{
"source": "(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, s-maxage=31536000, max-age=31536000"
},
{
"key": "Vercel-CDN-Cache-Control",
"value": "max-age=31536000"
}
]
}
]
}