webgit_tree_action() dereferences an treeish to the tree object
[webgit] / src / webgit.c
index 40b23230e40c90768ee219fcdfa1acd4a751b6f9..296954d7ddb090a37c538ff2e2ec8feafc30b7d1 100644 (file)
@@ -135,7 +135,7 @@ main (int argc, char**argv)
               html_httpheader(
                               html_httpfield(
                                              "Content-type",
-                                             "text/html",
+                                             query.content_type,
                                              html_attr("charset", "UTF-8")
                                              )//,
                               //html_httpfield("Last-Modified", cgit_page.modified),