mirror of
https://github.com/searxng/searxng.git
synced 2025-07-31 14:33:50 -04: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
@ -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…
x
Reference in New Issue
Block a user