diff options
| author | byte <gf3qyrmw7@mozmail.com> | 2025-09-22 23:27:47 +0000 |
|---|---|---|
| committer | byte <gf3qyrmw7@mozmail.com> | 2025-09-22 23:27:47 +0000 |
| commit | d23ac2b9f5e9b17ecf675eac4cd6ad22dfb9ccad (patch) | |
| tree | 2f53b7d285c27a81b150fb29b2bc6383a5145289 /httpd.c | |
| parent | 8e58a6b8a76c31914ba57f8ad8be018ba872a250 (diff) | |
making sure that global data is immutable
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |