From 8a6f98afe944b434a614203c98691307ad9ccbc8 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Mon, 30 Nov 2020 01:49:23 +0300 Subject: ui-shared: add content-security-policy header --- ui-shared.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-shared.c b/ui-shared.c index 151ac17..7f34fb3 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -783,6 +783,7 @@ void cgit_print_docstart(void) html(""); html_txt(ctx.page.title); html("\n"); + html("\n", cgit_version); if (ctx.cfg.robots && *ctx.cfg.robots) htmlf("\n", ctx.cfg.robots); -- cgit v1.2.3