summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorPaul Wilde <psw@wildefedi01.wildenet.wilde.cloud>2024-01-28 21:04:11 +0000
committerPaul Wilde <psw@wildefedi01.wildenet.wilde.cloud>2024-01-28 21:04:11 +0000
commit9568ec8bfede731d2ecdc5840e3a8a125fc31510 (patch)
treef06a7cef6e8b485a9a4ed26880ac5b310536a085 /httpd.c
parent376d849e8b69196b27f4794f1e2ca8a7866a97b1 (diff)
cleanup
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/httpd.c b/httpd.c
index 3a39481..a20d692 100644
--- a/httpd.c
+++ b/httpd.c
@@ -243,14 +243,6 @@ int server_get_handler(xs_dict *req, const char *q_path,
*body = xs_str_new("User-agent: *\n"
"Disallow: /\n");
}
- else
- if (strcmp(q_path, "/.well-known/host-meta") == 0) {
- status = 200;
- *ctype = "application/xrd+xml";
- *body = xs_str_new("<XRD>"
- "<Link rel=\"lrdd\" type=\"application/xrd+xml\" template=\"%s/.well-known/webfinger?resource={uri}\"/>"
- "</XRD>");
- }
if (status != 0)
srv_debug(1, xs_fmt("server_get_handler serving '%s' %d", q_path, status));