Skip to content

Commit

Permalink
fix: linux DEFAULT_BYPASS (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Spade authored Apr 7, 2023
1 parent ff573bf commit fb7b180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/core/sysopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>";

Expand Down

0 comments on commit fb7b180

Please sign in to comment.