Skip to content

Commit

Permalink
chore: fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Oct 31, 2024
1 parent c73c211 commit 894ed2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async fn main() -> color_eyre::Result<()> {
if let Some(ref base_path) = args.base_path {
let base = format!(r#"<meta name="BASE_PATH" content="{base_path}" />"#);
index_html = index_html.replace(r#"<!-- __BASE__ -->"#, &base);
index_html = index_html.replace("/__ASSETS_PATH__", &base_path);
index_html = index_html.replace("/__ASSETS_PATH__", base_path);
} else {
index_html = index_html.replace("/__ASSETS_PATH__", "");
}
Expand Down

0 comments on commit 894ed2f

Please sign in to comment.