Skip to content

Commit

Permalink
sq warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pflanze committed Jun 27, 2024
1 parent 0268b98 commit db8b363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ struct ErrorInfo {
}

fn redirect_with_policy(target: String, cache_policy: CachePolicy) -> AxumResponse {
match super::axum_cached_redirect(&encode_url_path(&target), cache_policy) {
match super::axum_cached_redirect(encode_url_path(&target), cache_policy) {
Ok(response) => response.into_response(),
Err(err) => AxumNope::InternalError(err).into_response(),
}
Expand Down

0 comments on commit db8b363

Please sign in to comment.