fix(desktop): allow API connections on custom ports

This commit is contained in:
2026-07-22 23:20:49 +08:00
parent a564d48154
commit f5e6db0c35
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
} }
], ],
"security": { "security": {
"csp": "default-src 'self'; img-src 'self' asset: https: data:; style-src 'self' 'unsafe-inline'; connect-src http://* https://*" "csp": "default-src 'self'; img-src 'self' asset: https: data:; style-src 'self' 'unsafe-inline'; connect-src http: https:"
} }
}, },
"bundle": { "bundle": {

View File

@@ -24,7 +24,7 @@
} }
], ],
"security": { "security": {
"csp": "default-src 'self'; img-src 'self' asset: https: data:; style-src 'self' 'unsafe-inline'; connect-src http://* https://*" "csp": "default-src 'self'; img-src 'self' asset: https: data:; style-src 'self' 'unsafe-inline'; connect-src http: https:"
} }
}, },
"bundle": { "bundle": {