From e7fcb1d85ff0425ac90f67f73979f2f2fa339bf4 Mon Sep 17 00:00:00 2001 From: Anthony North Date: Fri, 18 Nov 2022 14:42:10 +1000 Subject: [PATCH] add webview csp directives for web workers (#1261) --- src/session.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session.ts b/src/session.ts index 355f78f3b..34a086a81 100644 --- a/src/session.ts +++ b/src/session.ts @@ -653,6 +653,7 @@ export async function getWebviewHtml(webview: Webview, file: string, title: stri default-src https: data: filesystem:; style-src https: data: filesystem: 'unsafe-inline'; script-src https: data: filesystem: 'unsafe-inline' 'unsafe-eval'; + worker-src https: data: filesystem: blob:; `; return `