-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Expand file tree
/
Copy pathvercel.json
More file actions
33 lines (32 loc) · 781 Bytes
/
vercel.json
File metadata and controls
33 lines (32 loc) · 781 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
25
26
27
28
29
30
31
32
33
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"version": 2,
"rewrites": [
{
"source": "/(api|organization-avatar|avatar)/(.*)",
"destination": "https://sentry.io/$1/$2"
},
{
"source": "/region/(\\w+)/(.*)",
"destination": "https://$1.sentry.io/$2"
},
{"source": "/_assets/(.*)", "destination": "/$1"},
{"source": "/(.*)", "destination": "/index.html"}
],
"headers": [
{
"source": "/api/(.*)",
"headers": [{"key": "Referer", "value": "https://sentry.io/"}]
},
{
"source": "/_assets/(chunks|assets)/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
],
"github": {"silent": true}
}