From 0c2b88244d32dc029253b31f956c6eaabda1c2c8 Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Mon, 3 Nov 2025 00:58:48 +0800 Subject: [PATCH] refactor: remove bypass module for cleaner network configuration --- src-tauri/src/constants.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs index 07dc1bdf..2680205e 100644 --- a/src-tauri/src/constants.rs +++ b/src-tauri/src/constants.rs @@ -19,15 +19,6 @@ pub mod network { } } -pub mod bypass { - #[cfg(target_os = "windows")] - pub const DEFAULT: &str = "localhost;127.*;192.168.*;10.*;172.16.*;172.17.*;172.18.*;172.19.*;172.20.*;172.21.*;172.22.*;172.23.*;172.24.*;172.25.*;172.26.*;172.27.*;172.28.*;172.29.*;172.30.*;172.31.*;"; - - #[cfg(target_os = "linux")] - pub const DEFAULT: &str = - "localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,172.29.0.0/16,::1"; -} - pub mod timing { use super::Duration;