fix(rust): silence result_large_err on axum response error paths (#1799)

This commit is contained in:
Hampus
2026-08-20 21:18:18 +02:00
committed by GitHub
parent 27c7b2722d
commit 3527dc95a2
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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