-
Notifications
You must be signed in to change notification settings - Fork 24
/
vercel.json
33 lines (33 loc) · 1.2 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
{
"version": 2,
"builds": [{ "src": "package.json", "use": "@vercel/static-build", "config": { "distDir": "build" } }],
"routes": [
{
"src": "/_.*",
"status": 404
},
{
"src": "/(static|favicon2)/.*",
"headers": { "Cache-Control": "public, immutable, max-age=604800, s-maxage=604800" },
"continue": true
},
{
"src": "/(.*)",
"headers": {
"Content-Security-Policy-Report-Only": "default-src * data:; script-src 'report-sample' 'self' https://*.sapk.ch https://www.google-analytics.com https://www.googletagmanager.com https://*.statuspage.io; script-src-elem 'report-sample' 'self' https://*.sapk.ch https://www.google-analytics.com https://www.googletagmanager.com https://*.statuspage.io; style-src * 'unsafe-inline' 'report-sample'; style-src-elem * 'unsafe-inline' 'report-sample'; style-src-attr * 'unsafe-inline' 'report-sample'; report-uri https://sentry.sapikachu.net/api/31/security/?sentry_key=876acfa224b8425c92f9553b9c6676be"
},
"continue": true
},
{
"handle": "filesystem"
},
{
"src": "/(static|favicon2)/.*",
"status": 404
},
{
"src": "/(.*)",
"dest": "/index.html"
}
]
}