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 /utils.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 'utils.c')
| -rw-r--r-- | utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ #include <sys/stat.h> #include <stdlib.h> -static const char *default_srv_config = "{" +static const char * const default_srv_config = "{" "\"host\": \"\"," "\"prefix\": \"\"," "\"address\": \"127.0.0.1\"," @@ -42,7 +42,7 @@ static const char *default_srv_config = "{" "\"fastcgi\": false" "}"; -static const char *default_css = +static const char * const default_css = "body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; }\n" "pre { overflow-x: scroll; }\n" "blockquote { font-style: italic; }\n" @@ -97,7 +97,7 @@ const char *snac_blurb = "automatic sign-up process.</p>\n" ; -static const char *greeting_html = +static const char * const greeting_html = "<!DOCTYPE html>\n" "<html><head>\n" "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n" |