fix: bump ciphera-ui to 0.2.3 and allow blob: in worker-src CSP
Adds blob: to worker-src so the captcha PoW web worker can run.
This commit is contained in:
@@ -16,7 +16,7 @@ const cspDirectives = [
|
||||
"img-src 'self' data: blob: https://www.google.com https://*.gstatic.com https://ciphera.net",
|
||||
"font-src 'self'",
|
||||
`connect-src 'self' https://*.ciphera.net https://ciphera.net https://www.google.com https://*.gstatic.com https://cdn.jsdelivr.net${process.env.NODE_ENV === 'development' ? ' http://localhost:*' : ''}`,
|
||||
"worker-src 'self'",
|
||||
"worker-src 'self' blob:",
|
||||
"frame-src 'none'",
|
||||
"object-src 'none'",
|
||||
"base-uri 'self'",
|
||||
|
||||
Reference in New Issue
Block a user