mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-08-21 18:11:07 +00:00
fmt
This commit is contained in:
parent
ab21c5dbef
commit
6a3b194567
1 changed files with 3 additions and 1 deletions
|
@ -200,7 +200,9 @@ async fn run_server() -> io::Result<()> {
|
|||
.expect("failed to convert max request size"),
|
||||
));
|
||||
|
||||
let app = routes(config).layer(middlewares).into_make_service_with_connect_info::<SocketAddr>();
|
||||
let app = routes(config)
|
||||
.layer(middlewares)
|
||||
.into_make_service_with_connect_info::<SocketAddr>();
|
||||
let handle = ServerHandle::new();
|
||||
|
||||
tokio::spawn(shutdown_signal(handle.clone()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue