summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
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)
50 if (proxy) { 50 if (proxy) {
51 xs *p = xs_str_cat(xs_dup(proxy), "/proxy/"); 51 xs *p = xs_str_cat(xs_dup(proxy), "/proxy/");
52 url = xs_replace(href, "https:/" "/", p); 52 url = xs_replace(href, "https:/" "/", p);
53
54 srv_debug(1, xs_fmt("Proxying %s %s", href, url));
55 } 53 }
56 else 54 else
57 url = xs_dup(href); 55 url = xs_dup(href);
@@ -3244,6 +3242,8 @@ int html_get_handler(const xs_dict *req, const char *q_path,
3244 } 3242 }
3245 } 3243 }
3246 } 3244 }
3245
3246 snac_debug(&snac, 1, xs_fmt("Proxy for %s %d", url, status));
3247 } 3247 }
3248 } 3248 }
3249 else 3249 else