mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-09-08 17:16:21 -05:00
Now using waitress as WSGI.
This commit is contained in:
@@ -2,4 +2,5 @@ flask
|
||||
PyYaml
|
||||
graypy
|
||||
requests
|
||||
pymongo
|
||||
pymongo
|
||||
waitress
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user