summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2023-04-08 09:09:43 +0200
committerGravatar default2023-04-08 09:09:43 +0200
commit4964a564560fb81a505179ae7d9730d2231a743c (patch)
treef8061836eec76123af0b325f3b59e2b215e2a21f /httpd.c
parentAdded some OAuth scaffold code. (diff)
downloadsnac2-4964a564560fb81a505179ae7d9730d2231a743c.tar.gz
snac2-4964a564560fb81a505179ae7d9730d2231a743c.tar.xz
snac2-4964a564560fb81a505179ae7d9730d2231a743c.zip
More mastoapi work.
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 e220d29..6d7b76e 100644
--- a/httpd.c
+++ b/httpd.c
@@ -177,6 +177,9 @@ void httpd_connection(FILE *f)
177 status = activitypub_get_handler(req, q_path, &body, &b_size, &ctype); 177 status = activitypub_get_handler(req, q_path, &body, &b_size, &ctype);
178 178
179 if (status == 0) 179 if (status == 0)
180 status = oauth_get_handler(req, q_path, &body, &b_size, &ctype);
181
182 if (status == 0)
180 status = html_get_handler(req, q_path, &body, &b_size, &ctype); 183 status = html_get_handler(req, q_path, &body, &b_size, &ctype);
181 } 184 }
182 else 185 else