diff options
| author | arf20 <aruizfernandez05@gmail.com> | 2025-10-21 17:46:26 +0200 |
|---|---|---|
| committer | arf20 <aruizfernandez05@gmail.com> | 2025-10-21 17:46:26 +0200 |
| commit | 6ed92d313341a1ff2b1dfc822f6a02eee0b3854a (patch) | |
| tree | b40b7bed9d6837d73f2322d76aef362bab0b7ac6 /main.c | |
| parent | ebbe4a02815287d26968e96b282384e8b26cf3fb (diff) | |
| download | arfnet2-status-6ed92d313341a1ff2b1dfc822f6a02eee0b3854a.tar.gz arfnet2-status-6ed92d313341a1ff2b1dfc822f6a02eee0b3854a.zip | |
wip: incidents and uptime
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |
