diff --git a/xpic-tauri/tauri.conf.json b/xpic-tauri/tauri.conf.json index 2a62136..79aec21 100644 --- a/xpic-tauri/tauri.conf.json +++ b/xpic-tauri/tauri.conf.json @@ -23,7 +23,12 @@ } ], "security": { - "csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost", + "csp": { + "default-src": "'self' customprotocol: asset:", + "connect-src": "ipc: http://ipc.localhost", + "img-src": "'self' asset: http://asset.localhost blob: data:", + "style-src": "'unsafe-inline' 'self'" + }, "assetProtocol": { "enable": true, "scope": [