mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-06 00:00:17 +02:00
update examples
This commit is contained in:
@@ -35,7 +35,7 @@ async fn main() {
|
||||
|
||||
let recorder_handle = setup_metrics_recorder();
|
||||
|
||||
let app = Router::new()
|
||||
let app = Router::without_state()
|
||||
.route("/fast", get(|| async {}))
|
||||
.route(
|
||||
"/slow",
|
||||
|
||||
Reference in New Issue
Block a user