mirror of
https://github.com/searx/searx
synced 2025-08-31 06:26:28 +00:00
[enh] use morty proxy for image proxification too if it is configured
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user