Skip to content

Commit 5e1322e

Browse files
committed
Remove test code from clusterViewLoader.ts
Signed-off-by: Denis Golovin dgolovin@redhat.com
1 parent b5de410 commit 5e1322e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webview/cluster/clusterViewLoader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ export default class ClusterViewLoader {
235235
const reactAppUri = p.webview.asWebviewUri(reactAppPathOnDisk);
236236
const htmlString:Buffer = fs.readFileSync(path.join(reactAppRootOnDisk, 'index.html'));
237237
const meta = `<meta http-equiv="Content-Security-Policy"
238-
content="connect-src *;
239-
object-src https://console-openshift-console.apps-crc.testing/;
238+
content="connect-src *;
239+
default-src 'none';
240240
img-src ${p.webview.cspSource} https: 'self' data:;
241241
script-src 'unsafe-eval' 'unsafe-inline' vscode-resource:;
242242
style-src 'self' vscode-resource: 'unsafe-inline';">`;

0 commit comments

Comments
 (0)