1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-04 23:03:06 +08:00
code-server/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