From 353e393f4de68a209f2d454ca62516e180a3f54a Mon Sep 17 00:00:00 2001 From: default Date: Sat, 8 Apr 2023 06:09:05 +0200 Subject: New file mastoapi.c. --- httpd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index ec7a79f..183e194 100644 --- a/httpd.c +++ b/httpd.c @@ -185,6 +185,10 @@ void httpd_connection(FILE *f) status = activitypub_post_handler(req, q_path, payload, p_size, &body, &b_size, &ctype); + if (status == 0) + status = mastoapi_post_handler(req, q_path, + payload, p_size, &body, &b_size, &ctype); + if (status == 0) status = html_post_handler(req, q_path, payload, p_size, &body, &b_size, &ctype); -- cgit v1.2.3