From db01fd555158d18b6748ab1fdbcc01268d63674d Mon Sep 17 00:00:00 2001 From: Jeffrey Smeets Date: Wed, 3 Jun 2026 08:06:59 +0200 Subject: [PATCH] pelican: allow cdnjs.cloudflare.com in CSP for Monaco editor --- pelican/httproute.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/httproute.yaml b/pelican/httproute.yaml index b3a92e4..3e13608 100644 --- a/pelican/httproute.yaml +++ b/pelican/httproute.yaml @@ -39,7 +39,7 @@ spec: - name: Permissions-Policy value: "camera=(), microphone=(), geolocation=(), payment=()" - name: Content-Security-Policy - value: "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://gravatar.com https://www.gravatar.com; font-src 'self' data:; connect-src 'self' https://wings.jsme.be wss://wings.jsme.be ws: wss:; frame-ancestors 'self'" + value: "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://gravatar.com https://www.gravatar.com; font-src 'self' data:; connect-src 'self' https://wings.jsme.be wss://wings.jsme.be ws: wss:; worker-src blob:; frame-ancestors 'self'" backendRefs: - name: pelican port: 80