From 6ed92d313341a1ff2b1dfc822f6a02eee0b3854a Mon Sep 17 00:00:00 2001 From: arf20 Date: Tue, 21 Oct 2025 17:46:26 +0200 Subject: wip: incidents and uptime --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 15379b3..05925fd 100644 --- a/main.c +++ b/main.c @@ -50,7 +50,9 @@ enum MHD_Result answer_to_connection( if (strcmp(method, "GET") == 0 && strcmp(url, "/") == 0) { snprintf(buff, RES_BUFF, - index_format_template, monitor_generate_status_html()); + index_format_template, + monitor_generate_status_html(), "(since)", "(week %up)", + "(month %up)", "(total %up)", "(incidents)"); response = MHD_create_response_from_buffer(strlen(buff), (void*)buff, MHD_RESPMEM_PERSISTENT); -- cgit v1.2.3