From fcd638bc1c6680930eac4eaf9fd3e24b584ab6d7 Mon Sep 17 00:00:00 2001 From: Krishan <33421343+kfiven@users.noreply.github.com> Date: Thu, 12 Mar 2026 00:23:50 +1100 Subject: [PATCH] fix: duplicate window creation and CSP issues (#540) --- src-tauri/tauri.conf.json | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1d47aea..ca64860 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -59,19 +59,7 @@ }, "app": { "security": { - "csp": "script-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'; connect-src ipc: http://ipc.localhost" - }, - "windows": [ - { - "title": "Cinny", - "width": 1280, - "height": 905, - "center": true, - "resizable": true, - "fullscreen": false, - "dragDropEnabled": false, - "useHttpsScheme": true - } - ] + "csp": "default-src 'self' blob: data: filesystem: ws: wss: http: https: tauri:; script-src 'self' 'unsafe-eval' 'unsafe-inline' blob: data: filesystem: ws: wss: http: https: tauri:; img-src 'self' data: blob: filesystem: http: https:; connect-src 'self' ipc: ws: wss: http: https: http://ipc.localhost" + } } }