summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar default2023-04-25 06:40:46 +0200
committerGravatar default2023-04-25 06:40:46 +0200
commitb8eace33c9079a025f96130e81a2cc73a1933cd3 (patch)
treec76de4b8fd2bfe75932b1c95e04a529841785393 /mastoapi.c
parentSkip muted morons from timelines and statuses. (diff)
downloadsnac2-b8eace33c9079a025f96130e81a2cc73a1933cd3.tar.gz
snac2-b8eace33c9079a025f96130e81a2cc73a1933cd3.tar.xz
snac2-b8eace33c9079a025f96130e81a2cc73a1933cd3.zip
Store the what-is-snac URL as a CPP constant.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 61a12cd..5d508a2 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1221,7 +1221,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
1221 ins = xs_dict_append(ins, "domain", host); 1221 ins = xs_dict_append(ins, "domain", host);
1222 ins = xs_dict_append(ins, "title", host); 1222 ins = xs_dict_append(ins, "title", host);
1223 ins = xs_dict_append(ins, "version", "4.0.0 (not true; really " USER_AGENT ")"); 1223 ins = xs_dict_append(ins, "version", "4.0.0 (not true; really " USER_AGENT ")");
1224 ins = xs_dict_append(ins, "source_url", "https:/" "/comam.es/what-is-snac"); 1224 ins = xs_dict_append(ins, "source_url", WHAT_IS_SNAC_URL);
1225 ins = xs_dict_append(ins, "description", host); 1225 ins = xs_dict_append(ins, "description", host);
1226 1226
1227 ins = xs_dict_append(ins, "short_description", host); 1227 ins = xs_dict_append(ins, "short_description", host);