examples: fix using_serve_dir_with_assets_fallback to not expose assets at root (#3762)

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
Zelys
2026-05-16 22:54:23 +02:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent 7a37cdd00a
commit a480d71f6d
4 changed files with 46 additions and 5 deletions
+4 -1
View File
@@ -8,6 +8,9 @@ publish = false
axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.5.2", features = ["util"] }
tower-http = { version = "0.6.1", features = ["fs", "trace"] }
tower-http = { version = "0.6.1", features = ["fs", "set-status", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies]
http-body-util = "0.1.0"