From 86bc1ab579f9eaafaece6b9705cd37820f8c1ccc Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 26 Aug 2026 14:38:27 -0400 Subject: [PATCH 1/2] 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, -- 2.47.3 From b9a0db944ac3248ef7b5d7e3d76237ce1b7584fc Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 26 Aug 2026 14:39:46 -0400 Subject: [PATCH 2/2] bump: soaricarus_api --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1f3cf01..1aed57a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3013,7 +3013,7 @@ dependencies = [ [[package]] name = "soaricarus_api" -version = "0.5.7" +version = "0.5.8" dependencies = [ "axum", "axum-extra", diff --git a/Cargo.toml b/Cargo.toml index 3e9a883..80fd923 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "soaricarus_api" -version = "0.5.7" +version = "0.5.8" edition = "2024" rust-version = "1.95" license = "MIT" -- 2.47.3