Skip to content

Commit

Permalink
rest_api: Use pretty in href links
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Jun 19, 2020
1 parent b44ebd2 commit 34e9456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl API {
)
.unwrap_or(now);
html_list_content = format!(
"{0} <li> <a href=\"mavlink/{1}\">mavlink/{1}</a> ({2:.2}Hz - last update {3:#?}s ago) </li>",
"{0} <li> <a href=\"mavlink/{1}?pretty=true\">mavlink/{1}</a> ({2:.2}Hz - last update {3:#?}s ago) </li>",
html_list_content,
key,
frequency,
Expand Down

0 comments on commit 34e9456

Please sign in to comment.