h3poteto/fedistar

Proxy support

Opened this issue · 1 comments

ekes commented

Feature request: ability to support configuring an app proxy.

I'm writing this assuming that this is a difficult ask, but I realized I'd tried to look this up before, and I just did the research all over again, so at least if I wrote an issue the first time I (or anyone else) would easily know the situation.

If I understand correctly the app is built on Tauri and proxy support would have to be written into the (rust?) Requests as Tauri itself doesn't have proxy support.

Please check: tauri-apps/tauri#4263
Currently, Tauri does not support proxy.
Even if you write proxy configuration in Rust libraries, it will not work on Fedistar. Because some requests are sent using reqwest, but some requests (e.g. getting images) are sent using axios or WebView. That means we must set proxy configuration for both Rust library and WebView. And Tauri does not have the API, so we can't do it now.