diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/response.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/response.rs b/src/response.rs index 5f56878..3b88bcc 100644 --- a/src/response.rs +++ b/src/response.rs @@ -160,8 +160,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".< for stylesheet in stylesheets { html_context.push_str(&format!( - "<link rel=\"stylesheet\" type=\"text/css\" href=\"{}\">", - stylesheet, + "<link rel=\"stylesheet\" type=\"text/css\" href=\"{stylesheet}\">", )); } } @@ -170,8 +169,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".< // variable. if let Ok(favicon) = var("FAVICON_EXTERNAL") { html_context.push_str(&format!( - "<link rel=\"icon\" type=\"image/x-icon\" href=\"{}\">", - favicon + "<link rel=\"icon\" type=\"image/x-icon\" href=\"{favicon}\">", )); } |