From 9f2cd561286784fd000eb8a00f1f80db3185062c Mon Sep 17 00:00:00 2001 From: frosty Date: Fri, 27 Feb 2026 18:32:23 -0500 Subject: added proxying --- src/Routes/ImageProxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Routes/ImageProxy.c') diff --git a/src/Routes/ImageProxy.c b/src/Routes/ImageProxy.c index 9dadef7..5141cd5 100644 --- a/src/Routes/ImageProxy.c +++ b/src/Routes/ImageProxy.c @@ -1,5 +1,5 @@ #include "ImageProxy.h" - +#include "../Proxy/Proxy.h" #include #include #include @@ -118,6 +118,7 @@ int image_proxy_handler(UrlParams *params) { curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buf); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10L); + apply_proxy_settings(curl); CURLcode res = curl_easy_perform(curl); -- cgit v1.2.3