-rw-r--r-- | shared.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,4 +36,7 @@ void cgit_prepare_context(struct cgit_context *ctx) ctx->cfg.root_title = "Git repository browser"; ctx->cfg.script_name = CGIT_SCRIPT_NAME; + ctx->page.mimetype = "text/html"; + ctx->page.charset = PAGE_ENCODING; + ctx->page.filename = NULL; } |