Fixed tracing message not showing in AppBuilder
This commit is contained in:
parent
83f85f1938
commit
752d1a9d10
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -284,7 +284,7 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
||||
|
||||
[[package]]
|
||||
name = "lib"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"derive",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lib"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
edition = "2021"
|
||||
authors = ["Martin Berg Alstad"]
|
||||
|
||||
|
@ -77,8 +77,8 @@ impl AppBuilder {
|
||||
}
|
||||
|
||||
pub async fn serve(self) -> io::Result<()> {
|
||||
let listener = self.listener().await?;
|
||||
let _ = fmt_trace();
|
||||
let listener = self.listener().await?;
|
||||
|
||||
if self.normalize_path.unwrap_or(true) {
|
||||
let app = NormalizePathLayer::trim_trailing_slash().layer(self.create_app());
|
||||
|
Loading…
x
Reference in New Issue
Block a user