From 86bc1ab579f9eaafaece6b9705cd37820f8c1ccc Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 26 Aug 2026 14:38:27 -0400 Subject: [PATCH] bug fix for CORS on patch methods for requests --- src/config/init.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/init.rs b/src/config/init.rs index 862a669..62e71f7 100644 --- a/src/config/init.rs +++ b/src/config/init.rs @@ -25,6 +25,7 @@ mod cors { 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,