summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2023-04-09 20:34:05 +0200
committerGravatar default2023-04-09 20:34:05 +0200
commit4ced03bac14b57504cf6d3ca4d4770efc25dbfad (patch)
treeae55996e94cc4734a7a2146ae8930c7f87364997 /httpd.c
parentMore mastoapi work. (diff)
downloadpenes-snac2-4ced03bac14b57504cf6d3ca4d4770efc25dbfad.tar.gz
penes-snac2-4ced03bac14b57504cf6d3ca4d4770efc25dbfad.tar.xz
penes-snac2-4ced03bac14b57504cf6d3ca4d4770efc25dbfad.zip
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)
180 status = oauth_get_handler(req, q_path, &body, &b_size, &ctype); 180 status = oauth_get_handler(req, q_path, &body, &b_size, &ctype);
181 181
182 if (status == 0) 182 if (status == 0)
183 status = mastoapi_get_handler(req, q_path, &body, &b_size, &ctype);
184
185 if (status == 0)
183 status = html_get_handler(req, q_path, &body, &b_size, &ctype); 186 status = html_get_handler(req, q_path, &body, &b_size, &ctype);
184 } 187 }
185 else 188 else