X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/764987980ec0e806205b8e075feafd4e010dcbd9..f5c83d7b5ddceb03e1c6bda2e43c48500c7da9f5:/ui-shared.c 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();