From 10925e207a28635e207459c5b78581385c9dbe9e Mon Sep 17 00:00:00 2001 From: gennyble Date: Wed, 2 Apr 2025 06:53:54 -0500 Subject: remember to remove old ffi structs in corgi when using smalldog --- stats_module/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stats_module') diff --git a/stats_module/src/lib.rs b/stats_module/src/lib.rs index 47a5e6f..18a7c2b 100644 --- a/stats_module/src/lib.rs +++ b/stats_module/src/lib.rs @@ -63,7 +63,7 @@ extern "C" fn cgi_handle(req: *const ffi::ModuleRequest) -> *const ffi::ModuleRe } body.push_str("

"); - response.body(body.into_bytes()); + response.body(body.into_bytes()).header(c"Content-Type", c"text/html"); response.into_mod_response(200) } -- cgit 1.4.1-3-g733a5