mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-30 18:22:31 -04:00 
			
		
		
		
	[enh] use morty proxy for image proxification too if it is configured
This commit is contained in:
		
							parent
							
								
									a67a4bf2c0
								
							
						
					
					
						commit
						1b9045ed89
					
				| @ -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 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user