-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Expand file tree
/
Copy pathvercel.json
More file actions
47 lines (45 loc) · 1.34 KB
/
Copy pathvercel.json
File metadata and controls
47 lines (45 loc) · 1.34 KB
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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"version": 2,
"redirects": [
{
"source": "/(.*)",
"has": [{"type": "host", "value": "sentry.dev"}],
"destination": "https://sentry.io/$1",
"permanent": false
}
],
"rewrites": [
{
"source": "/(api|organization-avatar|team-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"
}
]
},
{
"source": "/entrypoints/service-worker.js",
"headers": [{"key": "Service-Worker-Allowed", "value": "/"}]
}
],
"github": {"silent": true},
"ignoreCommand": "git rev-parse -q --verify HEAD^&& ! git diff --name-only HEAD^|grep -qE '^(static|build-utils|src/sentry/(locale|static/sentry/images))|^(package\\.json|pnpm-lock\\.yaml|tsconfig\\.json|rspack\\.config\\.ts|vercel\\.json|\\.vercelignore)$'"
}