aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorbyte <gf3qyrmw7@mozmail.com>2025-09-22 23:27:47 +0000
committerbyte <gf3qyrmw7@mozmail.com>2025-09-22 23:27:47 +0000
commitd23ac2b9f5e9b17ecf675eac4cd6ad22dfb9ccad (patch)
tree2f53b7d285c27a81b150fb29b2bc6383a5145289 /httpd.c
parent8e58a6b8a76c31914ba57f8ad8be018ba872a250 (diff)
making sure that global data is immutable
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd.c b/httpd.c
index 50f56f2..de76776 100644
--- a/httpd.c
+++ b/httpd.c
@@ -59,7 +59,7 @@ static jmp_buf on_break;
/** code **/
/* nodeinfo 2.0 template */
-const char *nodeinfo_2_0_template = ""
+const char * const nodeinfo_2_0_template = ""
"{\"version\":\"2.0\","
"\"software\":{\"name\":\"snac\",\"version\":\"" VERSION "\"},"
"\"protocols\":[\"activitypub\"],"
@@ -172,7 +172,7 @@ static xs_str *greeting_html(void)
}
-const char *share_page = ""
+const char * const share_page = ""
"<!DOCTYPE html>\n"
"<html>\n"
"<head>\n"
@@ -190,7 +190,7 @@ const char *share_page = ""
"";
-const char *authorize_interaction_page = ""
+const char * const authorize_interaction_page = ""
"<!DOCTYPE html>\n"
"<html>\n"
"<head>\n"