Skip to content

Commit

Permalink
fix off by one?
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 committed Oct 31, 2023
1 parent 18ba080 commit a9bbdda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl HashTreePath {

// starting at 1 because "http_expr" is always the starting element
for i in 1..self.0.len() {
let mut without_trailing_slash: Vec<NestedTreeKey> = self.0.as_slice()[1..i].into();
let mut without_trailing_slash: Vec<NestedTreeKey> = self.0.as_slice()[0..i].into();
let mut with_trailing_slash = without_trailing_slash.clone();
without_trailing_slash.push("<*>".into());
with_trailing_slash.push("".into());
Expand Down
Binary file modified src/distributed/assetstorage.wasm.gz
Binary file not shown.

0 comments on commit a9bbdda

Please sign in to comment.