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'",
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -8,7 +8,7 @@
|
||||
"name": "pulse-frontend",
|
||||
"version": "0.13.0-alpha",
|
||||
"dependencies": {
|
||||
"@ciphera-net/ui": "^0.2.2",
|
||||
"@ciphera-net/ui": "^0.2.3",
|
||||
"@ducanh2912/next-pwa": "^10.2.9",
|
||||
"@phosphor-icons/react": "^2.1.10",
|
||||
"@simplewebauthn/browser": "^13.2.2",
|
||||
@@ -1667,9 +1667,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@ciphera-net/ui": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.2.2/9245f64a28201bfdea8873b7c809ee966825e2ed",
|
||||
"integrity": "sha512-7yOWEJT9X9+hhzKKIRdLeUz5rkm2922UbVsUNf6dWMLoTrL0I1FKEzBjIHxshh6DZpQDDAGQD9D2ty5y4xog/Q==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.2.3/75e7a47468bdd46dcd1e1b55df475fdbf3650e7d",
|
||||
"integrity": "sha512-MFhwn3q/LXMx9yWqza+VjozZfF4y4blk/ChUkQRBbarYKwIqxsoP10WTEcrSUZvuaTd2QfqFjA+ZcouI2NtuGQ==",
|
||||
"dependencies": {
|
||||
"@phosphor-icons/react": "^2.1.10",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ciphera-net/ui": "^0.2.2",
|
||||
"@ciphera-net/ui": "^0.2.3",
|
||||
"@ducanh2912/next-pwa": "^10.2.9",
|
||||
"@phosphor-icons/react": "^2.1.10",
|
||||
"@simplewebauthn/browser": "^13.2.2",
|
||||
|
||||
Reference in New Issue
Block a user