Browse Source

[enh] use morty proxy for image proxification too if it is configured

Adam Tauber 8 years ago
parent
commit
1b9045ed89
1 changed files with 3 additions and 0 deletions
  1. 3 0
      searx/webapp.py

+ 3 - 0
searx/webapp.py

@@ -266,6 +266,9 @@ def proxify(url):
 
 
 def image_proxify(url):
 def image_proxify(url):
 
 
+    if settings.get('result_proxy'):
+        return proxify(url)
+
     if url.startswith('//'):
     if url.startswith('//'):
         url = 'https:' + url
         url = 'https:' + url