From 7019a2fd94ce4f031cfc69f4ae601ff7e308bee6 Mon Sep 17 00:00:00 2001 From: phoenix Date: Tue, 30 Jun 2026 11:48:38 -0400 Subject: [PATCH] CORS bug fix --- src/config/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/mod.rs b/src/config/mod.rs index a52ebb8..64f871e 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -33,6 +33,7 @@ pub mod init { let cors = tower_http::cors::CorsLayer::new() .allow_methods([ axum::http::Method::GET, + axum::http::Method::PATCH, axum::http::Method::POST, axum::http::Method::PUT, axum::http::Method::DELETE,