From eb6d3d0d0eeb18f470a00d245ba913f8d705abe0 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 7 Nov 2024 20:04:02 +0100 Subject: Omit the 'image' field if there are any attachment. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index b5d9148..e329706 100644 --- a/html.c +++ b/html.c @@ -50,8 +50,6 @@ xs_str *make_url(const char *href, const char *proxy) if (proxy) { xs *p = xs_str_cat(xs_dup(proxy), "/proxy/"); url = xs_replace(href, "https:/" "/", p); - - srv_debug(1, xs_fmt("Proxying %s %s", href, url)); } else url = xs_dup(href); @@ -3244,6 +3242,8 @@ int html_get_handler(const xs_dict *req, const char *q_path, } } } + + snac_debug(&snac, 1, xs_fmt("Proxy for %s %d", url, status)); } } else -- cgit v1.2.3