Fixed tracing message not showing in AppBuilder

This commit is contained in:
Martin Berg Alstad
2024-06-26 10:31:20 +02:00
parent 83f85f1938
commit 752d1a9d10
3 changed files with 3 additions and 3 deletions

View File

@ -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());