mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-29 07:53:37 +00:00
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
This commit is contained in:
commit
5bd9b58f09
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ int webfinger_request(const char *qs, char **actor, char **user)
|
||||||
return 400;
|
return 400;
|
||||||
|
|
||||||
headers = xs_dict_append(headers, "accept", "application/json");
|
headers = xs_dict_append(headers, "accept", "application/json");
|
||||||
|
headers = xs_dict_append(headers, "user-agent", USER_AGENT);
|
||||||
|
|
||||||
/* is it a query about one of us? */
|
/* is it a query about one of us? */
|
||||||
if (strcmp(host, xs_dict_get(srv_config, "host")) == 0) {
|
if (strcmp(host, xs_dict_get(srv_config, "host")) == 0) {
|
||||||
|
|
Loading…
Reference in a new issue