From fb7b1800cced2bf13426f9ca85647f1b41410b10 Mon Sep 17 00:00:00 2001 From: Mr-Spade <84010735+Mr-Spade@users.noreply.github.com> Date: Fri, 7 Apr 2023 12:47:13 +0800 Subject: [PATCH] fix: linux DEFAULT_BYPASS (#503) --- src-tauri/src/core/sysopt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/core/sysopt.rs b/src-tauri/src/core/sysopt.rs index 6fee67b..c43114e 100644 --- a/src-tauri/src/core/sysopt.rs +++ b/src-tauri/src/core/sysopt.rs @@ -25,7 +25,7 @@ pub struct Sysopt { #[cfg(target_os = "windows")] static DEFAULT_BYPASS: &str = "localhost;127.*;192.168.*;"; #[cfg(target_os = "linux")] -static DEFAULT_BYPASS: &str = "localhost,127.0.0.1/8,::1"; +static DEFAULT_BYPASS: &str = "localhost,127.0.0.1,::1"; #[cfg(target_os = "macos")] static DEFAULT_BYPASS: &str = "127.0.0.1,localhost,";