Skip to content

Commit

Permalink
Fix axum feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kflansburg committed Apr 4, 2024
1 parent 71857a6 commit 73ae6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/http/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn from_wasm(res: web_sys::Response) -> Result<HttpResponse> {
})
}

#[cfg(feature = "http")]
#[cfg(feature = "axum")]
impl From<crate::Response> for http::Response<axum::body::Body> {
fn from(resp: crate::Response) -> http::Response<axum::body::Body> {
let res: web_sys::Response = resp.into();
Expand Down

0 comments on commit 73ae6fe

Please sign in to comment.