diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 8706153..13f8054 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ async fn create_app() -> Router { Method::PUT, Method::DELETE, ]) - .allow_headers(vec![header::CONTENT_TYPE]) + .allow_headers(vec![header::CONTENT_TYPE, header::AUTHORIZATION]) .allow_origin(Any), ) } |
