mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
Changed DEV Gamenews
This commit is contained in:
parent
872b76ba9e
commit
835ecb837a
|
|
@ -23,6 +23,9 @@ def gamenews():
|
|||
messageType = sanitize_input(request.args.get('messageType'))
|
||||
faction = sanitize_input(request.args.get('faction'))
|
||||
playerLevel = sanitize_input(request.args.get('playerLevel'))
|
||||
if dev_env == "true":
|
||||
output = json.load(open(os.path.join(app.root_path, "json", "placeholders", "dev_gamenews.json"), "r"))
|
||||
return jsonify(output)
|
||||
output = json.load(open(os.path.join(app.root_path, "json", "placeholders", "gamenews.json"), "r"))
|
||||
return jsonify(output)
|
||||
except TimeoutError:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user