mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-04-18 21:18:00 -05:00
New File matchmaking.py
This commit is contained in:
parent
918b66d26e
commit
dce4abf366
13
src/endpoints/matchmaking.py
Normal file
13
src/endpoints/matchmaking.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from flask_definitions import *
|
||||
|
||||
@app.route("/api/v1/config/MATCH_MAKING_REGIONS/raw", methods=["GET"])
|
||||
def match_making_regions_raw():
|
||||
get_remote_ip()
|
||||
try:
|
||||
# print(request.json)
|
||||
return jsonify({"eServerResponded"})
|
||||
except TimeoutError:
|
||||
print("Timeout error")
|
||||
return jsonify({"status": "error"})
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
|
@ -14,6 +14,7 @@ import endpoints.general
|
|||
import endpoints.logging
|
||||
import endpoints.debug
|
||||
import endpoints.web
|
||||
import endpoints.matchmaking
|
||||
|
||||
|
||||
# ------------------------------------------------------- #
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user