mirror of
https://github.com/searxng/searxng.git
synced 2025-08-09 13:26:45 +02:00
[fix] py: restore application
for uWSGI (#5040)
Was removed on https://github.com/searxng/searxng/pull/5032
This commit is contained in:
parent
f7c8e4c353
commit
b01d32d69d
1 changed files with 4 additions and 0 deletions
|
@ -1447,6 +1447,10 @@ app.wsgi_app = WhiteNoise(
|
|||
)
|
||||
|
||||
patch_application(app)
|
||||
|
||||
# remove when we drop support for uwsgi
|
||||
application = app
|
||||
|
||||
init()
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue