Skip to content
Snippets Groups Projects
Unverified Commit c0ddddfb authored by GyDi's avatar GyDi
Browse files

fix: reset proxy

parent f7dab3ca
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ impl Sysopt {
}
old.set_system_proxy()?;
} else if let Some(mut cur) = cur {
} else if let Some(mut cur @ Sysproxy { enable: true, .. }) = cur {
// 没有原代理,就按现在的代理设置disable即可
log::info!(target: "app", "reset proxy by disabling the current proxy");
cur.enable = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment