New File matchmaking.py

This commit is contained in:
ZKWolf 2023-06-24 18:20:34 +02:00
parent 918b66d26e
commit dce4abf366
2 changed files with 14 additions and 0 deletions

View 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)

View File

@ -14,6 +14,7 @@ import endpoints.general
import endpoints.logging
import endpoints.debug
import endpoints.web
import endpoints.matchmaking
# ------------------------------------------------------- #