Skip to content

Commit 8ec5fd0

Browse files
Add blob: to style source for integrations (#3675)
1 parent 529f940 commit 8ec5fd0

File tree

1 file changed

+1
-1
lines changed
  • packages/gitbook/src/lib

1 file changed

+1
-1
lines changed

packages/gitbook/src/lib/csp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function getContentSecurityPolicy(): string {
77
const csp = `
88
default-src 'self' *;
99
script-src 'self' 'unsafe-inline' 'unsafe-eval' *;
10-
style-src 'self' 'unsafe-inline' *;
10+
style-src 'self' 'unsafe-inline' blob: *;
1111
img-src * 'self' blob: data:;
1212
connect-src *;
1313
font-src *;

0 commit comments

Comments
 (0)