fix: unused code

This commit is contained in:
huzibaca
2024-12-31 06:27:29 +08:00
parent 04d766884a
commit ad335ba005
4 changed files with 53 additions and 32 deletions

View File

@@ -123,6 +123,7 @@ pub fn parse_check_output(log: String) -> String {
log
}
#[cfg(target_os = "macos")]
pub fn get_traffic_ws_url() -> Result<String> {
let (url, _) = clash_client_info()?;
let ws_url = url.replace("http://", "ws://") + "/traffic";