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" 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,