aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorRuben Beltran del Rio <rbdr@bravo-i.local>2026-04-15 17:17:14 +0200
committerRuben Beltran del Rio <rbdr@bravo-i.local>2026-04-15 17:17:14 +0200
commit30849656518854f1ff5af2ad8e583ceb199d1fbd (patch)
treedb4d9d12270339df74cc2f3941ab8c5341098a70 /httpd.c
parent6fc748933ad263ba0e8c78eb9ae1e085a2b0dfb2 (diff)
Make neighborhood private
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/httpd.c b/httpd.c
index b79aa87..248f5fa 100644
--- a/httpd.c
+++ b/httpd.c
@@ -280,18 +280,6 @@ int server_get_handler(xs_dict *req, const char *q_path,
*body = xs_base64_dec(default_avatar_base64(), b_size);
*ctype = "image/png";
}
- /* BEGIN neighborhood */
- else
- if (strcmp(q_path, "/neighborhood") == 0) {
- if (xs_type(xs_dict_get(srv_config, "neighborhood")) == XSTYPE_LIST) {
- xs *tl = timeline_neighborhood_list(0, 30);
- *body = html_timeline(NULL, tl, 0, 0, 0, 0,
- L("Neighborhood"), NULL, 0, NULL, 0);
- if (*body)
- status = HTTP_STATUS_OK;
- }
- }
- /* END neighborhood */
else
if (strcmp(q_path, "/.well-known/nodeinfo") == 0) {
status = HTTP_STATUS_OK;