diff options
author | default <nobody@localhost> | 2023-04-25 06:40:46 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-04-25 06:40:46 +0200 |
commit | b8eace33c9079a025f96130e81a2cc73a1933cd3 (patch) | |
tree | c76de4b8fd2bfe75932b1c95e04a529841785393 /mastoapi.c | |
parent | 3fb91ea25ae5b90493602427efc51fbe2440c3bf (diff) |
Store the what-is-snac URL as a CPP constant.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1221,7 +1221,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, ins = xs_dict_append(ins, "domain", host); ins = xs_dict_append(ins, "title", host); ins = xs_dict_append(ins, "version", "4.0.0 (not true; really " USER_AGENT ")"); - ins = xs_dict_append(ins, "source_url", "https:/" "/comam.es/what-is-snac"); + ins = xs_dict_append(ins, "source_url", WHAT_IS_SNAC_URL); ins = xs_dict_append(ins, "description", host); ins = xs_dict_append(ins, "short_description", host); |