Skip to content

Commit 2f44c2d

Browse files
committed
Fixes font csp issues.
1 parent f5f6f5d commit 2f44c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/src/webview/InternalWebviewManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ function getDebugVisualizerWebviewHtml(
9090
<html>
9191
<head>
9292
<meta charset="UTF-8">
93-
<meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline'; worker-src * data: blob: data: 'unsafe-inline' 'unsafe-eval'; font-src * 'unsafe-inline' 'unsafe-eval';">
93+
<meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline'; worker-src * data: blob: data: 'unsafe-inline' 'unsafe-eval'; font-src * 'unsafe-inline' 'unsafe-eval' 'self' data: blob:;">
9494
<style>
9595
html { height: 100%; width: 100%; padding: 0; margin: 0; }
9696
body { height: 100%; width: 100%; padding: 0; margin: 0; }
97-
iframe { height: 100%; width: 100%; padding: 0; margin: 0; border: 0; display: block; }
97+
iframe { height: 100%; width: 100%; padding: 0; margin: 0; border: 0; display: block; }
9898
</style>
9999
</head>
100100
<body>

0 commit comments

Comments
 (0)