fix: duplicate window creation and CSP issues (#540)

This commit is contained in:
Krishan
2026-03-12 00:23:50 +11:00
committed by GitHub
parent c6921d602c
commit fcd638bc1c

View File

@@ -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"
}
}
}