From 2253506f807c2294ff0e5e2df49aa1813eaf55dc Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 1 Jul 2023 14:22:46 +0200 Subject: [PATCH] a --- Flask/app.py | 1 + Flask/templates/config.html | 11 +++-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index 99d050e..55ad8b0 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -368,6 +368,7 @@ def config_get(): @app.route("/config/", methods=["POST"]) def config_post(): action = request.form + print(action) with open("/app/MsRewards-Reborn/user_data/proxy.json", "r") as inFile: proxys = json.load(inFile) with open("/app/MsRewards-Reborn/user_data/discord.json", "r") as inFile: diff --git a/Flask/templates/config.html b/Flask/templates/config.html index e95af56..bf66852 100644 --- a/Flask/templates/config.html +++ b/Flask/templates/config.html @@ -124,20 +124,15 @@ - - -
- - + +
- - - +