Skip to content

Commit

Permalink
🐛 Fixed compatibility with axum 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nwrenger committed Dec 20, 2024
1 parent c58ddfb commit 47cfd82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ impl FnInfo {
.join("/");
} else if params_str.contains("path") {
url = url.split(":").next().unwrap().to_string();
url = url.split("{").next().unwrap().to_string();
url += "${encodeURIComponent(path)}";
}

Expand Down

0 comments on commit 47cfd82

Please sign in to comment.