You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'IPC custom protocol failed, Tauri will now use the postMessage interface instead',
62
+
e
63
+
)
64
+
// failed to use the custom protocol IPC (either the webview blocked a custom protocol or it was a CSP error)
65
+
// so we need to fallback to the postMessage interface
66
+
customProtocolIpcFailed=true
67
+
sendIpcMessage(message)
68
+
}
69
+
)
68
70
}else{
69
71
// otherwise use the postMessage interface
70
72
const{ data }=processIpcMessage({
@@ -78,6 +80,7 @@
78
80
payload,
79
81
__TAURI_INVOKE_KEY__
80
82
})
83
+
// `window.ipc.postMessage` came from `tauri-runtime-wry` > `wry` [`with_ipc_handler`](https://github.com/tauri-apps/wry/blob/a0403b9e2f1ff9d73be7dce1184f058afcaa1d82/src/lib.rs#L1130)
0 commit comments