This commit is contained in:
Scott Lamb
2024-02-12 17:32:37 -08:00
parent f3da22fc5c
commit f385215d6e
6 changed files with 11 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ impl Ui {
);
hdrs.insert(header::CONTENT_TYPE, HeaderValue::from_static(content_type));
let e = node.into_file_entity(hdrs).err_kind(ErrorKind::Internal)?;
Ok(http_serve::serve(e, &req))
Ok(http_serve::serve(e, req))
}
#[cfg(feature = "bundled-ui")]
Ui::Bundled(ui) => {