mirror of
https://github.com/norohind/SquadsActivityMonitor.git
synced 2025-04-14 13:57:17 +03:00
web.py: add application var for uwsgi
This commit is contained in:
parent
b1a0424ac6
commit
4b0fc375a9
2
web.py
2
web.py
@ -94,5 +94,7 @@ app.add_route('/js/{file}', JS())
|
|||||||
|
|
||||||
app.add_route('/{var}', MainPage())
|
app.add_route('/{var}', MainPage())
|
||||||
|
|
||||||
|
application = app # for uwsgi
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
waitress.serve(app, host='127.0.0.1', port=9485)
|
waitress.serve(app, host='127.0.0.1', port=9485)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user