From b8eace33c9079a025f96130e81a2cc73a1933cd3 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 25 Apr 2023 06:40:46 +0200 Subject: Store the what-is-snac URL as a CPP constant. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastoapi.c') 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, 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); -- cgit v1.2.3