mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-09-30 20:49:59 +02:00
Fix production CSP hydration
This commit is contained in:
1 parent
3eafb622ed
commit
ce9ba39cd2
1 file changed
+1
-1
@@ -14,7 +14,7 @@ function buildCsp(nonce: string): string {
|
||||
"default-src 'self'",
|
||||
isDev
|
||||
? `script-src 'self' 'unsafe-inline' 'unsafe-eval' 'nonce-${nonce}' blob:`
|
||||
: `script-src 'self' 'nonce-${nonce}' blob:`,
|
||||
: `script-src 'self' 'unsafe-inline' 'nonce-${nonce}' blob:`,
|
||||
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
||||
"img-src 'self' data: blob: https:",
|
||||
isDev
|
||||
|
||||
Reference in new issue
Block a user