mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +02:00
Fix
This commit is contained in:
@@ -58,7 +58,7 @@ async fn main() {
|
||||
let app = Router::new()
|
||||
.fallback_service(ServeDir::new(assets_dir).append_index_html_on_directories(true))
|
||||
.route("/ws", any(ws_handler))
|
||||
// logging so we can see whats going on
|
||||
// logging so we can see what's going on
|
||||
.layer(
|
||||
TraceLayer::new_for_http()
|
||||
.make_span_with(DefaultMakeSpan::default().include_headers(true)),
|
||||
|
||||
Reference in New Issue
Block a user