fix: remove nonce from style-src to allow unsafe-inline to work
This commit is contained in:
1 parent
95b1955218
commit
c7fb37356e
2 files changed
+1
-3
No files matched your search
@@ -19,7 +19,6 @@ export function buildContentSecurityPolicy(nonce: string): string {
|
||||
const styleSrc = [
|
||||
"'self'",
|
||||
"'unsafe-inline'",
|
||||
`'nonce-${nonce}'`,
|
||||
"https://fonts.googleapis.com",
|
||||
].join(" ");
|
||||
|
||||
|
||||
Reference in new issue
Block a user