Fix code formatting

This commit is contained in:
2026-01-26 19:42:20 +00:00
parent 73e7e525a3
commit c1019238cb
4 changed files with 151 additions and 57 deletions

View File

@@ -119,12 +119,7 @@ async fn download_file(
"application/octet-stream"
};
return (
StatusCode::OK,
[(header::CONTENT_TYPE, content_type)],
data,
)
.into_response();
return (StatusCode::OK, [(header::CONTENT_TYPE, content_type)], data).into_response();
}
// Try proxy if configured
@@ -161,11 +156,7 @@ async fn download_file(
"application/octet-stream"
};
return (
StatusCode::OK,
[(header::CONTENT_TYPE, content_type)],
data,
)
return (StatusCode::OK, [(header::CONTENT_TYPE, content_type)], data)
.into_response();
}
}