also add footer on detail view

This commit is contained in:
kageru 2023-01-30 18:19:52 +01:00
parent 545c06e4bf
commit cf096652fc

@ -87,6 +87,7 @@ async fn card_info(card_id: web::Path<usize>) -> Result<HttpResponse, Box<dyn st
}
None => res.push_str("Card not found"),
}
finish_document(&mut res);
Ok(HttpResponse::Ok().insert_header(header::ContentType::html()).body(res))
}