Skip to content

Commit ebe6e8b

Browse files
committed
fix: csp allow self
1 parent 1a529d7 commit ebe6e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension/fbaEditor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ export class FBAEditorProvider implements vscode.CustomTextEditorProvider, vscod
409409
<meta name="theme-color" content="#000000" />
410410
411411
<meta http-equiv="Content-Security-Policy"
412-
content="default-src 'none';
412+
content="default-src 'self';
413413
img-src ${webview.cspSource} vscode-resource: https:;
414414
script-src ${webview.cspSource} 'unsafe-eval' 'unsafe-inline' vscode-resource:;
415415
style-src ${webview.cspSource} vscode-resource: 'unsafe-inline';">

0 commit comments

Comments
 (0)