From 1b9045ed899e1610959db76be66049ff80d2d41f Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sat, 29 Oct 2016 23:12:30 +0200 Subject: [PATCH] [enh] use morty proxy for image proxification too if it is configured --- searx/webapp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/searx/webapp.py b/searx/webapp.py index e9c5e917a..059283b16 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -266,6 +266,9 @@ def proxify(url): def image_proxify(url): + if settings.get('result_proxy'): + return proxify(url) + if url.startswith('//'): url = 'https:' + url