Skip to content

Commit fdd3034

Browse files
update csp
1 parent ea8b6a0 commit fdd3034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/createCsp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ let csp = ''
22

33
// worker-src
44
csp += 'worker-src'
5-
// allow self
5+
// allow our own worker scripts
66
csp += " 'self'"
77
// allow Para (Capsule) worker scripts
88
csp += ' https://app.beta.usecapsule.com'
@@ -30,7 +30,7 @@ csp += ' https://app.beta.usecapsule.com'
3030
csp += ' https://app.usecapsule.com'
3131

3232
// allow inline wasm evaluation
33-
csp += " 'wasm-unsafe-eval'"
33+
csp += ' wasm-unsafe-eval'
3434
// INLINE SCRIPT HASHES
3535
// hiddenCheckScript
3636
csp += " 'sha256-UyYcl+sKCF/ROFZPHBlozJrndwfNiC5KT5ZZfup/pPc='"

0 commit comments

Comments
 (0)