1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-17 18:00:12 +01:00

[FIX] image_proxify

This commit is contained in:
Venca24 2019-01-18 09:04:40 +01:00
parent 89dd3dd93f
commit e8734b37c9

View File

@ -295,6 +295,9 @@ def image_proxify(url):
if not request.preferences.get_value('image_proxy'): if not request.preferences.get_value('image_proxy'):
return url return url
if url.startswith('data:image/jpeg;base64,'):
return url
if settings.get('result_proxy'): if settings.get('result_proxy'):
return proxify(url) return proxify(url)