Rustfmt all code

Revise all code to comply with rustfmt
This commit is contained in:
Daniel Sockwell 2019-03-05 09:23:44 -05:00
parent fffd3b6b4d
commit 4842475b18
2 changed files with 6 additions and 2 deletions

View File

@ -91,6 +91,10 @@ fn cors_middleware() -> Cors {
Cors::build()
.allowed_origin("*")
.allowed_methods(vec!["GET", "OPTIONS"])
.allowed_headers(vec![header::AUTHORIZATION, header::ACCEPT, header::CACHE_CONTROL])
.allowed_headers(vec![
header::AUTHORIZATION,
header::ACCEPT,
header::CACHE_CONTROL,
])
.finish()
}

View File

@ -1 +1 @@
pub mod auth;
pub mod auth;