Is it possible to do this? I see Wry supports this, so it should be possible:
https://github.com/tauri-apps/wry/blob/wry-v0.34.2/examples/proxy.rs
Considering Tauri is built on top of Wry, this should be easy, but I can't find anyway to do it.
My code
let _popup_window = tauri::WindowBuilder::new(
&handle,
"login",
tauri::WindowUrl::External(login_url.parse().unwrap()),
)
.user_agent(&user_agent)
.on_navigation(move |url| {
// ...
})
.build()
.unwrap();