diff --git a/meilisearch-http/src/lib.rs b/meilisearch-http/src/lib.rs index 01a74887b..d4f251ec1 100644 --- a/meilisearch-http/src/lib.rs +++ b/meilisearch-http/src/lib.rs @@ -143,6 +143,7 @@ macro_rules! create_app { .wrap( Cors::default() .send_wildcard() + .allowed_headers(vec!["content-type", "Authorization"]) .allow_any_origin() .allow_any_method() .max_age(86_400), // 24h