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

Merge pull request #1488 from Venca24/devel_image_proxy

[FIX] image_proxify
This commit is contained in:
Noémi Ványi 2019-01-25 20:54:47 +01:00 committed by GitHub
commit c4f165477e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)