web.py: add application var for uwsgi

This commit is contained in:
norohind 2021-11-21 18:46:36 +03:00
parent b1a0424ac6
commit 4b0fc375a9
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

2
web.py
View File

@ -94,5 +94,7 @@ app.add_route('/js/{file}', JS())
app.add_route('/{var}', MainPage())
application = app # for uwsgi
if __name__ == '__main__':
waitress.serve(app, host='127.0.0.1', port=9485)