This commit is contained in:
piair
2023-08-25 14:06:03 +02:00
parent 534b8f3367
commit 0516296499
2 changed files with 8 additions and 2 deletions

View File

@ -364,7 +364,9 @@ def config_post():
@app.route("/logs/", methods=["GET", "POST"])
def logs():
return(render_template("logs.html"))
with open("/app/MsRewards-Reborn/user_data/configs.json", "r") as inFile:
configs = json.load(inFile)
return(render_template("logs.html", data=configs))