remove csp and assetProtocol, escape problem in production that don't appear in dev

This commit is contained in:
polv committed 2026-03-22 04:21:37 +07:00
1 parent a26cfceaf4
commit 9f88b6d93c
7 files changed
+40 -48

No files matched your search

+2 -6
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "cjdic2",
"version": "0.1.2",
"version": "0.1.3",
"identifier": "cc.polv.cjdic2",
"build": {
"beforeDevCommand": "pnpm dev",
@@ -19,11 +19,7 @@
}
],
"security": {
"csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost",
"assetProtocol": {
"enable": true,
"scope": ["$APPDATA/yomitan/**"]
}
"csp": null
}
},
"bundle": {