-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
20 lines (20 loc) · 920 Bytes
/
Copy pathvercel.json
File metadata and controls
20 lines (20 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"framework": "astro",
"buildCommand": "npx astro build",
"outputDirectory": "dist",
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=(), usb=()" },
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
{
"key": "Content-Security-Policy-Report-Only",
"value": "default-src 'self'; script-src 'self' 'unsafe-eval' https://unpkg.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob:; connect-src 'self' https://formspree.io https://unpkg.com; media-src 'self' blob:; worker-src 'self' blob:; frame-ancestors 'self'"
}
]
}
]
}