fix(vercel): docs CSP

This commit is contained in:
alam00000
2026-10-03 14:17:55 +05:30
parent 1a41545fff
commit 3a5f146d1b
+9
View File
@@ -163,6 +163,15 @@
{ "key": "Cache-Control", "value": "public, max-age=31536000" }
]
},
{
"source": "/docs",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https:; font-src 'self' data: https://fonts.gstatic.com https://rawcdn.githack.com; connect-src 'self' https://api.github.com https://fonts.gstatic.com https://cdn.jsdelivr.net https://bentopdf-cors-proxy.bentopdf.workers.dev https://rawcdn.githack.com; object-src 'none'; base-uri 'self'; frame-ancestors 'self'; form-action 'self'"
}
]
},
{
"source": "/docs/:path*",
"headers": [