diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2025-01-17 20:41:20 +0100 | 
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2025-01-17 20:41:20 +0100 | 
| commit | a56ecb83c70e57144a4b01153aab21656c97e366 (patch) | |
| tree | 6951efbfa4e89969452b097acb7531d6162de6a6 /src/main.rs | |
| parent | c6dcfcfe833c28fec288918965fc31cd86199fb1 (diff) | |
Sound as binary string
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index bf8afda..e27f887 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ use crate::config::CONFIG;  use async_graphql::{EmptySubscription, Schema};  use axum::{      http::{header, Method, Request}, -    routing::{get, post}, +    routing::post,      Extension, Router,  };  use errors::AppError; @@ -47,7 +47,6 @@ async fn create_app() -> Result<Router, AppError> {      .finish();      Ok(Router::new() -        .route("/assets/sounds/:id", get(audio::show_file))          .route(              "/graphql",              post(graphql::routes::graphql_handler).layer(Extension(schema.clone())),  |