Skip to content

Commit

Permalink
style(handlers): remove redundant comments
Browse files Browse the repository at this point in the history
Remove redundant comments to improve code readability. The comments were unnecessary and cluttered the code.
  • Loading branch information
nekofar committed Dec 7, 2024
1 parent 91d7b2d commit 254dd62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ pub async fn generate_redirect_page<D>(req: Request, ctx: RouteContext<D>) -> Re
</html>
"#,
og_meta = og_meta.to_html(),
url = url, // Page URL
title = encode_safe(&title), // Page Title
description = encode_safe(&description), // Page Description
ga_id = ga_id, // Google Analytics ID
url = url,
title = encode_safe(&title),
description = encode_safe(&description),
ga_id = ga_id,
);

let minified_html = minify(html_doc).expect("Failed to minify HTML");
Expand Down

0 comments on commit 254dd62

Please sign in to comment.