logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 1b9045ed899e1610959db76be66049ff80d2d41f
parent: a67a4bf2c0dc3a34db9ab2610f974b199abf120d
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sat, 29 Oct 2016 23:12:30 +0200

[enh] use morty proxy for image proxification too if it is configured

Diffstat:

searx/webapp.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/searx/webapp.py b/searx/webapp.py @@ -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