diff options
author | gennyble <gen@nyble.dev> | 2025-04-02 06:53:54 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2025-04-02 07:35:20 -0500 |
commit | 10925e207a28635e207459c5b78581385c9dbe9e (patch) | |
tree | ed04e75f6df7048c3a4cd345c75045234ba6332a /stats_module | |
parent | 545a33aac755ede43e2509d0492851765d3fd832 (diff) | |
download | corgi-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.rs | 2 |
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) } |