feat: update VPN connection to parse URL and ensure HTTPS prefix

This commit is contained in:
Kevin Yue committed 2025-07-08 23:26:04 +08:00
1 parent 1d3aa889d5
commit e1eb9e20f1
3 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ impl Cli {
let browser = self
.browser
.as_deref()
.or_else(|| self.default_browser.then(|| "default"));
.or_else(|| self.default_browser.then_some("default"));
#[cfg(not(feature = "webview-auth"))]
let browser = self.browser.as_deref().or(Some("default"));