Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
infra
spot
Commits
c4f16547
Unverified
Commit
c4f16547
authored
Jan 25, 2019
by
Noémi Ványi
Committed by
GitHub
Jan 25, 2019
Browse files
Merge pull request #1488 from Venca24/devel_image_proxy
[FIX] image_proxify
parents
deaaf065
fdf39943
Changes
1
Hide whitespace changes
Inline
Side-by-side
searx/webapp.py
View file @
c4f16547
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment