From efaa9f02b8ab1e8ac5b0aecb81d4d2710e8c037c Mon Sep 17 00:00:00 2001 From: Markury Date: Sat, 4 Oct 2025 16:23:05 -0400 Subject: [PATCH] fix(tauri): update content security policy to include media sources --- src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 451f289..30453f8 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -19,7 +19,7 @@ } ], "security": { - "csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost data:; style-src 'self' 'unsafe-inline'", + "csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost data:; media-src 'self' asset: http://asset.localhost; style-src 'self' 'unsafe-inline'", "assetProtocol": { "enable": true, "scope": ["**"]