tauri
tauri copied to clipboard
[bug] How does tauri disable the proxy of the operating system?
Describe the bug
Since tauri accesses the interface after compilation, packaging and installation, after setting up the system proxy in Windows 11, the domain name and IP of the operating system to exclude the proxy do not work.
Reproduction
No response
Expected behavior
No response
Full tauri info
output
[✔] Environment
- OS: Windows 10.0.22000 X64
✔ WebView2: 123.0.2420.81
✔ MSVC: Visual Studio ���ɹ��� 2019
✔ rustc: 1.77.1 (7cf61ebde 2024-03-27)
✔ cargo: 1.77.1 (e52e36006 2024-03-26)
✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
✔ Rust toolchain: stable-i686-pc-windows-msvc (default)
- node: 16.20.2
- pnpm: 8.12.0
- npm: 8.19.4
[-] Packages
- tauri [RUST]: 1.6.1
- tauri-build [RUST]: 1.5.1
- wry [RUST]: 0.24.7
- tao [RUST]: 0.16.8
- @tauri-apps/api [NPM]: 1.5.3
- @tauri-apps/cli [NPM]: 1.5.11
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: Vue.js
- bundler: Rollup
Stack trace
No response
Additional context
No response
please provide more info about the problem and include a reproduction
I guess you could try:
fn start_tauri() {
std::env::set_var("NO_PROXY", "127.0.0.1,localhost");
// ...
}
closing for inactivity and the above suggestion should probably work too.