From b01d32d69d0d8e4b16a49cd25df2d7f82a30b641 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Wed, 23 Jul 2025 23:55:50 +0200 Subject: [PATCH] [fix] py: restore `application` for uWSGI (#5040) Was removed on https://github.com/searxng/searxng/pull/5032 --- searx/webapp.py | 4 ++++ 1 file changed, 4 insertions(+) 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__":