From cf096652fc26e7132ae26dd01901ea3894de130f Mon Sep 17 00:00:00 2001 From: kageru Date: Mon, 30 Jan 2023 18:19:52 +0100 Subject: [PATCH] also add footer on detail view --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index d612efa..7be0bfc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,6 +87,7 @@ async fn card_info(card_id: web::Path) -> Result res.push_str("Card not found"), } + finish_document(&mut res); Ok(HttpResponse::Ok().insert_header(header::ContentType::html()).body(res)) }