mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	Merge pull request #1488 from Venca24/devel_image_proxy
[FIX] image_proxify
This commit is contained in:
		
						commit
						c4f165477e
					
				@ -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)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user