diff --git a/api/src/main.rs b/api/src/main.rs index 75bf6f2..64581b8 100644 --- a/api/src/main.rs +++ b/api/src/main.rs @@ -36,7 +36,7 @@ async fn main() { .init(); let cors = CorsLayer::new() - .allow_methods([Method::GET, Method::POST]) + .allow_methods([Method::GET, Method::POST, Method::DELETE, Method::PUT]) .allow_origin(Any) .allow_headers([CONTENT_TYPE]);