summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-21 21:12:49 +0200
committerdefault <nobody@localhost>2022-09-21 21:12:49 +0200
commit6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3 (patch)
tree5f0d3ba0dd8b629fa03b3294f1dd3e3b21a6c513 /httpd.c
parenta19d509b87e4f3472f0ac4ae058f9d32384215e7 (diff)
Added a webfinger 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 7cd73cc..8e798a4 100644
--- a/httpd.c
+++ b/httpd.c
@@ -109,6 +109,9 @@ void httpd_connection(int rs)
/* cascade through */
if (status == 0)
server_get_handler(req, q_path, &status, &body, &b_size, &ctype);
+
+ if (status == 0)
+ webfinger_get_handler(req, q_path, &status, &body, &b_size, &ctype);
}
else
if (strcmp(method, "POST") == 0) {