about summary refs log tree commit diff
path: root/stats_module
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2025-04-02 06:53:54 -0500
committergennyble <gen@nyble.dev>2025-04-02 07:35:20 -0500
commit10925e207a28635e207459c5b78581385c9dbe9e (patch)
treeed04e75f6df7048c3a4cd345c75045234ba6332a /stats_module
parent545a33aac755ede43e2509d0492851765d3fd832 (diff)
downloadcorgi-10925e207a28635e207459c5b78581385c9dbe9e.tar.gz
corgi-10925e207a28635e207459c5b78581385c9dbe9e.zip
remember to remove old ffi structs in corgi when using smalldog
Diffstat (limited to 'stats_module')
-rw-r--r--stats_module/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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("</pre></code></p>");
 
-	response.body(body.into_bytes());
+	response.body(body.into_bytes()).header(c"Content-Type", c"text/html");
 	response.into_mod_response(200)
 }