Skip to content

Commit f82e4b3

Browse files
committed
remove unsafe flag from integration webview csp
1 parent d28d21b commit f82e4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notebooks/deepnote/integrations/integrationWebview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class IntegrationWebviewProvider implements IIntegrationWebviewProvider {
252252
<head>
253253
<meta charset="UTF-8">
254254
<meta name="viewport" content="width=device-width, initial-scale=1.0">
255-
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src ${webview.cspSource} 'unsafe-inline'; script-src 'nonce-${nonce}'; font-src ${webview.cspSource};">
255+
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src ${webview.cspSource}; script-src 'nonce-${nonce}'; font-src ${webview.cspSource};">
256256
<link rel="stylesheet" href="${codiconUri}">
257257
<link rel="stylesheet" href="${styleUri}">
258258
<title>Deepnote Integrations</title>

0 commit comments

Comments
 (0)