From bbb68cd5c1c1c0655e27101b5fa85cfe21ee5590 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 4 Apr 2024 01:47:48 +0000 Subject: feat(response): clean up proxy info --- src/html.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/html.rs') diff --git a/src/html.rs b/src/html.rs index d50501c..b86c496 100644 --- a/src/html.rs +++ b/src/html.rs @@ -21,13 +21,7 @@ fn link_from_host_href(url: &Url, href: &str) -> Option { Some(format!( "gemini://{}{}{}", url.domain()?, - { - if href.starts_with('/') { - "" - } else { - "/" - } - }, + { if href.starts_with('/') { "" } else { "/" } }, href )) } -- cgit v1.2.3