fix: 收紧界面内容安全策略

This commit is contained in:
2026-10-25 07:39:44 +08:00
parent 8707470736
commit 6e2189d96e
+1 -1
View File
@@ -20,7 +20,7 @@
}
],
"security": {
"csp": null
"csp": "default-src 'self'; connect-src 'self' ipc: http://ipc.localhost http://127.0.0.1:*; img-src 'self' data:; style-src 'self' 'unsafe-inline'"
}
},
"bundle": {