diff options
| author | Fuwn <[email protected]> | 2026-01-21 15:05:23 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-21 15:05:31 +0000 |
| commit | 36258fed23a5202df1e94e321452d0af100cd216 (patch) | |
| tree | ad44f61ef98e05647dff32f73a98e9adc50e0e14 /src/response.rs | |
| parent | perf: Cache environment variables at startup (diff) | |
| download | september-36258fed23a5202df1e94e321452d0af100cd216.tar.xz september-36258fed23a5202df1e94e321452d0af100cd216.zip | |
fix(response): Use charset instead of mime in nocss Content-Type
Diffstat (limited to 'src/response.rs')
| -rw-r--r-- | src/response.rs | 2 |
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), ); } |