Support connect gateway (#306)

This commit is contained in:
Kevin Yue authored and GitHub committed 2024-01-28 11:41:48 +08:00
1 parent 6fe6a1387a
commit b2bb35994f
14 files changed
+220 -92

No files matched your search

+4
View File
@@ -38,3 +38,7 @@ pub fn normalize_server(server: &str) -> anyhow::Result<String> {
Ok(normalized_url)
}
pub fn remove_url_scheme(s: &str) -> String {
s.replace("http://", "").replace("https://", "")
}