Skip to content

Commit 17406dc

Browse files
authored
Use unsafe-inline for script-src (#771)
1 parent 6f2a2ef commit 17406dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ export async function getWebviewHtml(webview: Webview, file: string, title: stri
632632
upgrade-insecure-requests;
633633
default-src https: data: filesystem:;
634634
style-src https: data: filesystem: 'unsafe-inline';
635-
script-src https: data: filesystem: 'unsafe-eval';
635+
script-src https: data: filesystem: 'unsafe-inline';
636636
`;
637637

638638
return `

0 commit comments

Comments
 (0)