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: restore `application` for uWSGI (#5040)

Ivan Gabaldonb01d32d69d0d
diff --git a/searx/webapp.py b/searx/webapp.py
index 120d5de43..a1a2a0469 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -1447,6 +1447,10 @@ app.wsgi_app = WhiteNoise(
)
patch_application(app)
+
+# remove when we drop support for uwsgi
+application = app
+
init()
if __name__ == "__main__":