diff --git a/requirements.txt b/requirements.txt index 2804987..ce7ed4c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,5 @@ flask PyYaml graypy requests -pymongo \ No newline at end of file +pymongo +waitress \ No newline at end of file diff --git a/src/start_app.py b/src/start_app.py index df60880..e58e8a7 100644 --- a/src/start_app.py +++ b/src/start_app.py @@ -6,6 +6,7 @@ # ------------------------------------------------------- # from threading import Thread import time +from waitress import serve from flask_definitions import * import endpoints.unknown @@ -23,7 +24,7 @@ import endpoints.matchmaking def run(): - app.run(host='0.0.0.0', port=8080) + serve(app, host='0.0.0.0', port=8080) def keep_alive():