mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-25 20:51:09 +00:00
fmt
This commit is contained in:
parent
fc3e94bea0
commit
4f629f40b5
2 changed files with 2 additions and 3 deletions
|
@ -28,8 +28,7 @@ pub async fn file_and_error_handler(
|
|||
.insert("accept-encoding", encodings.clone());
|
||||
}
|
||||
|
||||
let res = get_static_file(Request::from_parts(static_parts, Body::empty()), &root)
|
||||
.await?;
|
||||
let res = get_static_file(Request::from_parts(static_parts, Body::empty()), &root).await?;
|
||||
|
||||
if res.status() == StatusCode::OK {
|
||||
Ok(res.into_response())
|
||||
|
|
|
@ -22,7 +22,7 @@ use activitypub_federation::{
|
|||
http_signatures::generate_actor_keypair,
|
||||
};
|
||||
use api::api_routes;
|
||||
use assets::{file_and_error_handler};
|
||||
use assets::file_and_error_handler;
|
||||
use axum::{
|
||||
body::Body,
|
||||
http::{HeaderValue, Request},
|
||||
|
|
Loading…
Reference in a new issue