-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
54 lines (54 loc) · 1.85 KB
/
vercel.json
File metadata and controls
54 lines (54 loc) · 1.85 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
48
49
50
51
52
53
54
{
"version": 2,
"buildCommand": "pnpm run build 2> build.log || (grep '.storybook' build.log && echo '⚠️ Ignoring Storybook errors' && exit 0 || (echo '❌ Build failed'; cat build.log; exit 1))",
"build": {
"ignoreCommand": "echo 'Skipping Storybook build errors'"
},
"headers": [
{
"source": "/:path((?!_next).*\\.(?:jpg|jpeg|png|gif|webp|svg|ico|woff|woff2|ttf|otf|eot|mp4|webm)$)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/_next/static/:path*",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/sitemap.xml",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=0, must-revalidate"
}
]
},
{
"source": "/:path*",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=86400, stale-while-revalidate=604800"
}
]
},
{
"source": "/:path*",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' https://www.youtube.com https://www.youtube-nocookie.com; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' https://i.ytimg.com https://img.youtube.com data: blob:; media-src 'self' data: blob:; frame-src https://www.youtube.com https://www.youtube-nocookie.com; connect-src 'self' https://*.sentry.io https://*.ingest.sentry.io https://*.ingest.us.sentry.io https://*.cloudflare.com https://*.workers.dev https://*.pages.dev; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests"
}
]
}
]
}