-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvercel.json
More file actions
17 lines (17 loc) · 795 Bytes
/
Copy pathvercel.json
File metadata and controls
17 lines (17 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"rewrites": [{ "source": "/((?!api/).*)", "destination": "/index.html" }],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; connect-src 'self' https://generativelanguage.googleapis.com https://cdn.jsdelivr.net blob:; worker-src 'self' blob:; font-src 'self'; frame-ancestors 'none'; base-uri 'self'"
},
{ "key": "Permissions-Policy", "value": "camera=(self), microphone=(), geolocation=(), payment=(), usb=()" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "no-referrer" }
]
}
]
}