This commit is contained in:
root
2025-07-11 11:25:56 +08:00
parent 766d59cdf0
commit 6e62d72ff6
3 changed files with 11 additions and 3 deletions

View File

@@ -25,7 +25,11 @@
}
],
"security": {
"csp": null
"csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost data:; media-src 'self' asset: http://asset.localhost; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'",
"assetProtocol": {
"enable": true,
"scope": ["**"]
}
}
},
"bundle": {