Skip to content

Commit

Permalink
fix: breadcrumb links in gateway directory template (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
b5 authored Nov 18, 2022
1 parent cd9fa23 commit f429baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh-gateway/src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ async fn serve_fs_dir<T: ContentLoader + std::marker::Unpin>(
let mut el = HashMap::new();
let path = match accum.last() {
Some(prev) => match prev.get("path") {
Some(base) => format!("/{}/{}", base, encode(path_el)),
Some(base) => format!("{}/{}", base, encode(path_el)),
None => format!("/{}", encode(path_el)),
},
None => {
Expand Down

0 comments on commit f429baa

Please sign in to comment.