forked from zaclys/searxng
		
	Workaround: index.html: remove image preload
Related to https://github.com/searxng/searxng/issues/1326 URL for the logo is referenced twice: * in index.html for preloading: it contains the hash for cache busting (when static_use_hash: true) * in searxng.min.css: to actually display the image. The URL doesn't contain the hash. So the image preload actually loads twice the same image. This commit removed the image preloading. This is workaround: the real fix is to be able to use the URL with the hash in the CSS.
This commit is contained in:
		
							parent
							
								
									43b8b64866
								
							
						
					
					
						commit
						0539e38309
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,5 @@
 | 
			
		|||
{% extends "simple/base.html" %}
 | 
			
		||||
{% from 'simple/icons.html' import icon_big %}
 | 
			
		||||
{% block meta %}
 | 
			
		||||
	<link rel="preload" href="{{ url_for('static', filename='img/searxng.png') }}" as="image" />
 | 
			
		||||
{% endblock %}
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div class="index">
 | 
			
		||||
    <div class="title"><h1>SearXNG</h1></div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue