Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Remove / in url_for parameter for simple theme

Hypolite Petovand506d87f6066
diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html
index 883503683..f0b36276c 100644
--- a/searx/templates/simple/macros.html
+++ b/searx/templates/simple/macros.html
@@ -9,7 +9,7 @@
<!-- Draw favicon -->
{% macro draw_favicon(favicon) -%}
- <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='/themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
+ <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" />
{%- endmacro %}
{% macro result_open_link(url, classes='') -%}