Closed Fubuchi closed 2 years ago
Vscode version:
Version: 1.64.2 (user setup) Commit: f80445acd5a3dadef24aa209168452a3d97cc326 Date: 2022-02-09T22:02:28.252Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19042
Here is the content of the csp in workbench.html in vscode 1.64.2
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data: blob: vscode-remote-resource:; media-src 'self'; frame-src 'self' vscode-webview:; object-src 'self'; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; connect-src 'self' https: ws:; font-src 'self' https: vscode-remote-resource:;">
the connect-src has a new item: ws:
connect-src
ws:
The workbench.html replaced by vscode-live2d didn't has this part hence it broke some extenstions (Remote WSL in my case). Adding ws: fixed the issue
除了remote-wsl,同样也会使remote-container无法使用。
Thanks for the feedback. The new version v1.8.1 has been released.
Vscode version:
Here is the content of the csp in workbench.html in vscode 1.64.2
the
connect-src
has a new item:ws:
The workbench.html replaced by vscode-live2d didn't has this part hence it broke some extenstions (Remote WSL in my case). Adding
ws:
fixed the issue