add search post route

This commit is contained in:
mpostma
2020-05-29 17:36:55 +02:00
parent 940105efb3
commit 6add10b18f
2 changed files with 5 additions and 7 deletions

View File

@ -70,7 +70,7 @@ async fn main() -> Result<(), MainError> {
Cors::new()
.send_wildcard()
.allowed_header("x-meili-api-key")
.max_age(86_400) // 24h
//.max_age(86_400) // 24h
.finish(),
)
.wrap(middleware::Logger::default())