mirror of
https://github.com/searx/searx
synced 2024-12-13 04:33:15 +01:00
[FIX] image_proxify
This commit is contained in:
parent
89dd3dd93f
commit
e8734b37c9
@ -295,6 +295,9 @@ def image_proxify(url):
|
||||
if not request.preferences.get_value('image_proxy'):
|
||||
return url
|
||||
|
||||
if url.startswith('data:image/jpeg;base64,'):
|
||||
return url
|
||||
|
||||
if settings.get('result_proxy'):
|
||||
return proxify(url)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user