diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2025-09-23 09:01:55 +0200 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2025-09-23 09:01:55 +0200 |
| commit | 144eb7bfbcd76e2ae85bad0f7a333622449d9966 (patch) | |
| tree | 2f53b7d285c27a81b150fb29b2bc6383a5145289 /httpd.c | |
| parent | 8e58a6b8a76c31914ba57f8ad8be018ba872a250 (diff) | |
| parent | d23ac2b9f5e9b17ecf675eac4cd6ad22dfb9ccad (diff) | |
Merge pull request 'making sure that global data is immutable' (#477) from byte/snac2:fix/immutable into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/477
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" |