Open trookie2000 opened 1 year ago
if it wouldn't accept the config the app would fail to compile.
The error you posted is probably also unrelated to the error. file://
urls in tauri apps are pretty rare.
I don't think we can proceed here without a minimal reproduction example to be honest.
Describe the bug
This is my security configuration in tauri.conf.json "security": { "dangerousDisableAssetCspModification":true, "csp":null, "freezePrototype": true, "dangerousRemoteDomainIpcAccess": [ { "domain": "tauri.localhost", "windows": ["main"] } ]
but But doesn't seem to recognize this configuration, There are wavy lines under the dangerousRemoteDomainIpcAccess configuration,resulting in an error in the operation. error:Uncaught (in promise) Scope not defined for URL
file:///D:/code/rust/discoRobot/src/components/login.html
. See https://tauri.app/v1/api/config/#securityconfig.dangerousremotedomainipcaccess and https://docs.rs/tauri/1/tauri/scope/struct.IpcScope.html#method.configure_remote_accessReproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response