summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-07-23 23:55:50 +0200
committerGitHub <noreply@github.com>2025-07-23 23:55:50 +0200
commitb01d32d69d0d8e4b16a49cd25df2d7f82a30b641 (patch)
tree1d7c8637e9bad040c93b2ee98371c149b56f7506
parentf7c8e4c3535cf03699f9444d3a2b0875bf7a2579 (diff)
[fix] py: restore `application` for uWSGI (#5040)
Was removed on https://github.com/searxng/searxng/pull/5032
-rwxr-xr-xsearx/webapp.py4
1 files changed, 4 insertions, 0 deletions
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__":