From 7ddb7eddec3b928947b52f715aaf4821a818ebee Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 7 Jul 2022 00:34:43 +0300 Subject: format using rustfmt --- kittybox-rs/src/main.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'kittybox-rs/src/main.rs') diff --git a/kittybox-rs/src/main.rs b/kittybox-rs/src/main.rs index ef051ba..ece31df 100644 --- a/kittybox-rs/src/main.rs +++ b/kittybox-rs/src/main.rs @@ -197,15 +197,17 @@ async fn main() { .route( "/.kittybox/onboarding", axum::routing::get(kittybox::frontend::onboarding::get) - .post(kittybox::frontend::onboarding::post::) + .post(kittybox::frontend::onboarding::post::), ) .route( "/.kittybox/micropub", axum::routing::get(kittybox::micropub::query::) .post(kittybox::micropub::post::) - .layer(tower_http::cors::CorsLayer::new() - .allow_methods([axum::http::Method::GET, axum::http::Method::POST]) - .allow_origin(tower_http::cors::Any)), + .layer( + tower_http::cors::CorsLayer::new() + .allow_methods([axum::http::Method::GET, axum::http::Method::POST]) + .allow_origin(tower_http::cors::Any), + ), ) .route( "/.kittybox/micropub/client", -- cgit 1.4.1