mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Update axum to 0.8
This commit is contained in:
@@ -101,7 +101,7 @@ pub async fn start_axum_server(stop_signal: Arc<AtomicBool>) {
|
||||
let start_bot_mutex = Arc::new(Mutex::new(()));
|
||||
|
||||
let app_router = axum::Router::new()
|
||||
.route("/:token/", post(telegram_request))
|
||||
.route("/{token}/", post(telegram_request))
|
||||
.with_state(start_bot_mutex)
|
||||
.layer(prometheus_layer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user