From a56ecb83c70e57144a4b01153aab21656c97e366 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 17 Jan 2025 20:41:20 +0100 Subject: Sound as binary string --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main.rs') 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 { .finish(); Ok(Router::new() - .route("/assets/sounds/:id", get(audio::show_file)) .route( "/graphql", post(graphql::routes::graphql_handler).layer(Extension(schema.clone())), -- cgit v1.2.3-18-g5258