Skip to content

Commit

Permalink
Fix the wget footer
Browse files Browse the repository at this point in the history
by having it use the absolute url instead of the breadcrumbs
  • Loading branch information
Silux committed Feb 21, 2023
1 parent 3ce9285 commit 4389d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ fn wget_footer(abs_path: &str, current_user: Option<&CurrentUser>) -> Markup {
html! {
div.downloadDirectory {
p { "Download folder:" }
div.cmd { (format!("wget -r -c -nH -np --cut-dirs={count} -R \"index.html*\"{user_params} \"{abs_path}/?raw=true\"")) }
div.cmd { (format!("wget -r -c -nH -np --cut-dirs={count} -R \"index.html*\"{user_params} \"{abs_path}?raw=true\"")) }
}
}
}
Expand Down

0 comments on commit 4389d7b

Please sign in to comment.