on master help sign in
[enh] use morty proxy for image proxification too if it is configured
1b9045eAdam Tauber
searx/webapp.py+3
@@ -266,6 +266,9 @@ def proxify(url):
266
266
267def image_proxify(url):
267def image_proxify(url):
268
268
269+ if settings.get('result_proxy'):
270+ return proxify(url)
271+
269 if url.startswith('//'):
272 if url.startswith('//'):
270 url = 'https:' + url
273 url = 'https:' + url
271
274