summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index 73e539d..804ff1b 100644
--- a/httpd.c
+++ b/httpd.c
@@ -169,7 +169,8 @@ const char *share_page = ""
169"<html>\n" 169"<html>\n"
170"<head>\n" 170"<head>\n"
171"<title>%s - snac</title>\n" 171"<title>%s - snac</title>\n"
172"<meta content=\"width=device-width, initial-scale=1, minimum-scale=1, user-scalable=no\" name=\"viewport\">" 172"<meta content=\"width=device-width, initial-scale=1, minimum-scale=1, user-scalable=no\" name=\"viewport\">\n"
173"<link rel=\"stylesheet\" type=\"text/css\" href=\"%s/style.css\"/>\n"
173"<style>:root {color-scheme: light dark}</style>\n" 174"<style>:root {color-scheme: light dark}</style>\n"
174"</head>\n" 175"</head>\n"
175"<body><h1>%s link share</h1>\n" 176"<body><h1>%s link share</h1>\n"
@@ -310,6 +311,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
310 *ctype = "text/html"; 311 *ctype = "text/html";
311 *body = xs_fmt(share_page, 312 *body = xs_fmt(share_page,
312 xs_dict_get(srv_config, "host"), 313 xs_dict_get(srv_config, "host"),
314 srv_baseurl,
313 xs_dict_get(srv_config, "host"), 315 xs_dict_get(srv_config, "host"),
314 srv_baseurl, 316 srv_baseurl,
315 s, 317 s,