Skip to content

Commit 3b1034a

Browse files
committed
Fix CSP restrictions on inline image rendering
We actually use this quite a lot! Didn't realise * didn't cover it.
1 parent 63195dd commit 3b1034a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

automation/webpack.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default merge(common, {
193193
'default-src': "*",
194194
'object-src': "'none'",
195195
'frame-ancestors': "'none'",
196-
'img-src': "*",
196+
'img-src': ["*", "'data:'"],
197197
'font-src': "*",
198198
'style-src': ["'report-sample'", "*", "'unsafe-inline'"],
199199
'frame-src': "https://login.httptoolkit.tech",

0 commit comments

Comments
 (0)