aboutsummaryrefslogtreecommitdiff
path: root/src/response.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/response.rs')
-rw-r--r--src/response.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.rs b/src/response.rs
index 5a3f204..44aa565 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -140,7 +140,7 @@ pub async fn default(
return Ok(
HttpResponse::Ok()
- .content_type(format!("text/html; charset={}", meta.mime()))
+ .content_type(format!("text/html; charset={charset}"))
.body(html_context),
);
}