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.

[fix] py: absolute static path (#5043)

Ivan Gabaldon802bf4f9e76b
diff --git a/searx/webapp.py b/searx/webapp.py
index a1a2a0469..2e1d3dea2 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -265,7 +265,7 @@ def custom_url_for(endpoint: str, **values):
if theme_filename in _STATIC_FILES:
values["filename"] = theme_filename
- return f"/static/{values['filename']}"
+ return f"static/{values['filename']}"
if endpoint == "info" and "locale" not in values: