Skip to content

Commit a7c43a8

Browse files
committed
Remove CSP tag from VS Code html
This matches with the html in the VS Code repo and also fixes a problem with the worker which loads HTML using data: and then can't load any scripts because 'self' doesn't work.
1 parent 30d05ae commit a7c43a8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/browser/pages/vscode.html

-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99

1010
<meta charset="utf-8" />
1111

12-
<meta
13-
http-equiv="Content-Security-Policy"
14-
content="font-src 'self' data:; connect-src ws: wss: 'self' https:; default-src ws: wss: 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; manifest-src 'self'; img-src 'self' data: https:;"
15-
/>
16-
1712
<!-- Disable pinch zooming -->
1813
<meta
1914
name="viewport"

0 commit comments

Comments
 (0)