X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/764987980ec0e806205b8e075feafd4e010dcbd9..509488d85c06c66eb65bc4809f6e317c1ebe1d7a:/ui-shared.c?ds=inline diff --git a/ui-shared.c b/ui-shared.c index de06256..89c4897 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -791,6 +791,7 @@ void cgit_print_docend(void) void cgit_print_error_page(int code, const char *msg, const char *fmt, ...) { va_list ap; + ctx.page.expires = ctx.cfg.cache_dynamic_ttl; ctx.page.status = code; ctx.page.statusmsg = msg; cgit_print_http_headers();