Skip to content

Commit e7fcb1d

Browse files
authored
add webview csp directives for web workers (#1261)
1 parent b276ed0 commit e7fcb1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ export async function getWebviewHtml(webview: Webview, file: string, title: stri
653653
default-src https: data: filesystem:;
654654
style-src https: data: filesystem: 'unsafe-inline';
655655
script-src https: data: filesystem: 'unsafe-inline' 'unsafe-eval';
656+
worker-src https: data: filesystem: blob:;
656657
`;
657658

658659
return `

0 commit comments

Comments
 (0)