Skip to content

Commit ead3950

Browse files
authored
csp fix (RooCodeInc#2108)
1 parent ab47580 commit ead3950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
378378
<meta name="theme-color" content="#000000">
379379
<link rel="stylesheet" type="text/css" href="${stylesUri}">
380380
<link href="${codiconsUri}" rel="stylesheet" />
381-
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; connect-src https://*.posthog.com; https://*.firebaseauth.com https://*.firebaseio.com https://*.googleapis.com https://*.firebase.com; font-src ${webview.cspSource}; style-src ${webview.cspSource} 'unsafe-inline'; img-src ${webview.cspSource} https: data:; script-src 'nonce-${nonce}' 'unsafe-eval';">
381+
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; connect-src https://*.posthog.com https://*.firebaseauth.com https://*.firebaseio.com https://*.googleapis.com https://*.firebase.com; font-src ${webview.cspSource}; style-src ${webview.cspSource} 'unsafe-inline'; img-src ${webview.cspSource} https: data:; script-src 'nonce-${nonce}' 'unsafe-eval';">
382382
<title>Cline</title>
383383
</head>
384384
<body>

0 commit comments

Comments
 (0)