fix: parse VPN URL to support custom port

Related: #404
This commit is contained in:
Kevin Yue committed 2025-07-08 23:32:54 +08:00
1 parent e1eb9e20f1
commit 11925a372d
2 files changed
+5 -11

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_some("default"));
.or_else(|| self.default_browser.then(|| "default"));
#[cfg(not(feature = "webview-auth"))]
let browser = self.browser.as_deref().or(Some("default"));