Explorar o código

fix: linux DEFAULT_BYPASS (#503)

Mr-Spade %!s(int64=2) %!d(string=hai) anos
pai
achega
fb7b1800cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src-tauri/src/core/sysopt.rs

+ 1 - 1
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.*;<local>";
 #[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,<local>";