1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 13:15:25 +00:00
code-server-2/lib
Joe Previte 592d9bcbda
fix(lib/vscode): update csp in webview to allow ports
With #3895, we caused a regression where the Content-Security-Policy prevented
images in the previewer to not work due to the ports in the resource URI.

This modifies the CSP in the webview to make sure images are not blocked by CSP.

I assume once we upgrade VS Code, we will revert this change.
2021-09-09 17:54:20 -07:00
..
vscode fix(lib/vscode): update csp in webview to allow ports 2021-09-09 17:54:20 -07:00