X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/a4d1ca1dc6ff8171694d9e2280b6075a1beced0c..f135569b2be3fb1816f802f9a162b3743b735d1c:/ui-blob.c?ds=sidebyside diff --git a/ui-blob.c b/ui-blob.c index 11589db..ab44659 100644 --- a/ui-blob.c +++ b/ui-blob.c @@ -36,7 +36,7 @@ void cgit_print_blob(const char *hex, char *path) } buf[size] = '\0'; - ctx.page.mimetype = "text/plain"; + ctx.page.mimetype = NULL; ctx.page.filename = path; cgit_print_http_headers(&ctx); write(htmlfd, buf, size);