Skip to content

Commit 5955edc

Browse files
committed
fix: allow data: and blob: image sources in csp
1 parent 4a3d0bf commit 5955edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/desktop/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"csp": {
3838
"default-src": "'self' asset:",
3939
"connect-src": "ipc: http://ipc.localhost https://api.glzr.io",
40-
"img-src": "'self' *",
40+
"img-src": "data: blob: *",
4141
"style-src": "'self' 'unsafe-inline'"
4242
},
4343
"assetProtocol": {

0 commit comments

Comments
 (0)