mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(rust): silence result_large_err on axum response error paths (#1799)
This commit is contained in:
@@ -231,6 +231,7 @@ fn discovery_endpoint(discovery: &DiscoveryResponse, key: &str) -> Option<String
|
||||
.map(ToOwned::to_owned)
|
||||
}
|
||||
|
||||
#[allow(clippy::result_large_err)]
|
||||
async fn load_spa_index_html(state: &AppState) -> Result<String, Response> {
|
||||
if let Some(index_upstream_url) = &state.config.index_upstream_url {
|
||||
let response = state
|
||||
|
||||
Reference in New Issue
Block a user