-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vercel.json
60 lines (60 loc) · 1.24 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"version": 2,
"cleanUrls": true,
"trailingSlash": true,
"build": {
"env": {
"VUE_APP_COSMIC_BUCKET_SLUG": "@cosmic-bucket-slug",
"VUE_APP_COSMIC_BUCKET_READ_KEY": "@cosmic-bucket-read-key",
"VUE_APP_COSMIC_BUCKET_SLUG_STORE": "@cosmic-bucket-slug-store",
"VUE_APP_COSMIC_BUCKET_READ_KEY_STORE": "@cosmic-bucket-read-key-store"
}
},
"rewrites": [
{
"source": "/eo-UY/(.*)",
"destination": "/_crowdin"
},
{
"source": "/(.*)",
"destination": "$1"
},
{
"source": "/(.*)",
"destination": "/_fallback"
}
],
"headers": [
{
"source": "/service-worker.js",
"headers" : [
{
"key" : "Cache-Control",
"value" : "public, max-age=0, must-revalidate"
}
]
},
{
"source": "[a-z0-9]{8}\\.(js|css)(\\.map)?",
"headers" : [
{
"key" : "Cache-Control",
"value" : "public, max-age=31536000, immutable"
}
]
},
{
"source": "/(.*)",
"headers" : [
{
"key" : "Cache-Control",
"value" : "public, max-age=3600, must-revalidate"
}
]
}
],
"github": {
"autoAlias": false,
"silent": true
}
}