diff options
author | Venca24 <Vaclav.Zouzalik@seznam.cz> | 2019-01-18 09:04:40 +0100 |
---|---|---|
committer | Venca24 <Vaclav.Zouzalik@seznam.cz> | 2019-01-18 09:04:40 +0100 |
commit | e8734b37c9b3c2f598bb309e04d646bc8e6420a8 (patch) | |
tree | aadaf33a7fb9c29128bcfd557d583764f39bc217 | |
parent | 89dd3dd93f7f6611e135583364c9d58099652835 (diff) | |
download | searxng-e8734b37c9b3c2f598bb309e04d646bc8e6420a8.tar.gz searxng-e8734b37c9b3c2f598bb309e04d646bc8e6420a8.zip |
[FIX] image_proxify
-rw-r--r-- | searx/webapp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 977e7e675..727259774 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -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) |