diff options
| author | Fuwn <[email protected]> | 2023-04-17 06:10:41 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-17 06:10:41 +0000 |
| commit | 073cb8daf42fe8ddbc9a762e009dc41c34f53b80 (patch) | |
| tree | e54dd938563595a802c6e5176df96844405a3456 /src | |
| parent | feat(git): ignore vscode files (diff) | |
| download | september-073cb8daf42fe8ddbc9a762e009dc41c34f53b80.tar.xz september-073cb8daf42fe8ddbc9a762e009dc41c34f53b80.zip | |
style(response): format style
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}\">", )); } |