fix: various improvements and fixes

This commit is contained in:
Timo Kösters
2021-03-23 12:59:27 +01:00
parent 363c629faf
commit 3ea7d162db
9 changed files with 67 additions and 57 deletions

View File

@@ -219,6 +219,7 @@ where
"Access-Control-Allow-Headers",
"Origin, X-Requested-With, Content-Type, Accept, Authorization",
);
response.raw_header("Access-Control-Max-Age", "86400");
response.ok()
}
Err(_) => Err(Status::InternalServerError),