summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-09 20:34:05 +0200
committerdefault <nobody@localhost>2023-04-09 20:34:05 +0200
commit4ced03bac14b57504cf6d3ca4d4770efc25dbfad (patch)
treeae55996e94cc4734a7a2146ae8930c7f87364997 /httpd.c
parent752058bf662ce4025fd1a445625c012ab83b1edd (diff)
OAuth login now works.
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 6d7b76e..d5de87c 100644
--- a/httpd.c
+++ b/httpd.c
@@ -180,6 +180,9 @@ void httpd_connection(FILE *f)
status = oauth_get_handler(req, q_path, &body, &b_size, &ctype);
if (status == 0)
+ status = mastoapi_get_handler(req, q_path, &body, &b_size, &ctype);
+
+ if (status == 0)
status = html_get_handler(req, q_path, &body, &b_size, &ctype);
}
else