summaryrefslogtreecommitdiff
path: root/webfinger.c
diff options
context:
space:
mode:
authorGravatar grunfink2024-05-22 14:01:03 +0000
committerGravatar grunfink2024-05-22 14:01:03 +0000
commit76f20bb79e622ca83cc2bce9ff1cf0c34c614385 (patch)
treedd96635e4b33babec99c025592c7cfae8e1aaf66 /webfinger.c
parentFixed warning. (diff)
parentChange WebFinger content type to RFC-required type (diff)
downloadsnac2-76f20bb79e622ca83cc2bce9ff1cf0c34c614385.tar.gz
snac2-76f20bb79e622ca83cc2bce9ff1cf0c34c614385.tar.xz
snac2-76f20bb79e622ca83cc2bce9ff1cf0c34c614385.zip
Merge pull request 'Change WebFinger content type to RFC-required type' (#167) from steve-bate/snac2:pr-webfinger-content-type into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/167
Diffstat (limited to 'webfinger.c')
-rw-r--r--webfinger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/webfinger.c b/webfinger.c
index a12134d..cad86e4 100644
--- a/webfinger.c
+++ b/webfinger.c
@@ -215,7 +215,7 @@ int webfinger_get_handler(xs_dict *req, char *q_path,
215 215
216 status = 200; 216 status = 200;
217 *body = j; 217 *body = j;
218 *ctype = "application/json"; 218 *ctype = "application/jrd+json";
219 } 219 }
220 else 220 else
221 status = 404; 221 status = 404;