Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkMyCar committed Sep 13, 2023
1 parent 403f80f commit a7eaf0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/environmentd/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use futures::future::{FutureExt, Shared, TryFutureExt};
use headers::authorization::{Authorization, Basic, Bearer};
use headers::{HeaderMapExt, HeaderName};
use http::header::{AUTHORIZATION, CONTENT_TYPE};
use http::{Request, StatusCode, Method};
use http::{Method, Request, StatusCode};
use hyper_openssl::MaybeHttpsStream;
use mz_adapter::{AdapterError, AdapterNotice, Client, SessionClient};
use mz_frontegg_auth::{Authentication as FronteggAuthentication, Error as FronteggError};
Expand Down Expand Up @@ -168,7 +168,7 @@ impl HttpServer {
CorsLayer::new()
.allow_methods(Method::POST)
.allow_origin(AllowOrigin::mirror_request())
.allow_headers(Any)
.allow_headers(Any),
)
.layer(
ServiceBuilder::new()
Expand Down

0 comments on commit a7eaf0b

Please sign in to comment.