Skip to content

Commit 4175b2b

Browse files
committed
bugfix: resolve blocked:csp error
1 parent 0a4ce46 commit 4175b2b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/renderer/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
66
<meta
77
http-equiv="Content-Security-Policy"
8-
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data: https://fastly.jsdelivr.net;"
8+
content="
9+
default-src 'self';
10+
script-src 'self';
11+
style-src 'self' 'unsafe-inline';
12+
img-src 'self' data:;
13+
font-src 'self' data: https://fastly.jsdelivr.net;
14+
connect-src 'self' http://localhost:39722;
15+
"
916
/>
1017
</head>
1118
<body class="font-pretendard">

0 commit comments

Comments
 (0)