diff --git a/src-tauri/src/core/sysopt.rs b/src-tauri/src/core/sysopt.rs index c43114e2..b2f52552 100644 --- a/src-tauri/src/core/sysopt.rs +++ b/src-tauri/src/core/sysopt.rs @@ -23,11 +23,11 @@ pub struct Sysopt { } #[cfg(target_os = "windows")] -static DEFAULT_BYPASS: &str = "localhost;127.*;192.168.*;"; +static DEFAULT_BYPASS: &str = "localhost;127.*;192.168.*;10.*;172.16.*;"; #[cfg(target_os = "linux")] -static DEFAULT_BYPASS: &str = "localhost,127.0.0.1,::1"; +static DEFAULT_BYPASS: &str = "localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,::1"; #[cfg(target_os = "macos")] -static DEFAULT_BYPASS: &str = "127.0.0.1,localhost,"; +static DEFAULT_BYPASS: &str = "127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,*.crashlytics.com,"; impl Sysopt { pub fn global() -> &'static Sysopt {