mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-05 20:02:47 +01:00
fix(vercel): docs CSP
This commit is contained in:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user