mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
parent
2f3faadcbf
commit
450b81ca13
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue