We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 82ae47e + 592d9bc commit bc3acb0Copy full SHA for bc3acb0
lib/vscode/src/vs/workbench/api/common/shared/webview.ts
@@ -24,7 +24,10 @@ export const webviewResourceBaseHost = 'vscode-webview.net';
24
25
export const webviewRootResourceAuthority = `vscode-resource.${webviewResourceBaseHost}`;
26
27
-export const webviewGenericCspSource = `https://*.${webviewResourceBaseHost}`;
+// NOTE@coder: This is a temporary change to include ":*"
28
+// due to the patch we had to make for webview resources.
29
+// See PR#3895 and https://github.com/cdr/code-server/issues/3936 for more details.
30
+export const webviewGenericCspSource = `https://*.${webviewResourceBaseHost}:*`;
31
32
/**
33
* Construct a uri that can load resources inside a webview
0 commit comments