diff --git a/src/api/common/cors.rs b/src/api/common/cors.rs index 94ff8aa9..17158acd 100644 --- a/src/api/common/cors.rs +++ b/src/api/common/cors.rs @@ -123,6 +123,7 @@ pub fn handle_options_api( Ok(Response::builder() .header(ACCESS_CONTROL_ALLOW_ORIGIN, "*") .header(ACCESS_CONTROL_ALLOW_METHODS, "*") + .header(ACCESS_CONTROL_ALLOW_HEADERS, "*") .status(StatusCode::OK) .body(EmptyBody::new())?) }