summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-23 20:59:19 +0200
committerdefault <nobody@localhost>2022-09-23 20:59:19 +0200
commit6e6c3154940e21a97473154e57e851790740d550 (patch)
treee42370734efa7b9e27477f864448bccb947048e8 /httpd.c
parent1d694a245a56bb4fd90fd917ad3648c2c5449746 (diff)
New function activitypub_get_handler().
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index 037f690..20ba763 100644
--- a/httpd.c
+++ b/httpd.c
@@ -131,6 +131,9 @@ void httpd_connection(int rs)
if (status == 0)
status = webfinger_get_handler(req, q_path, &body, &b_size, &ctype);
+
+ if (status == 0)
+ status = activitypub_get_handler(req, q_path, &body, &b_size, &ctype);
}
else
if (strcmp(method, "POST") == 0) {