This commit is contained in:
piair 2023-07-01 14:22:46 +02:00
parent 2d5cb19896
commit 2253506f80
2 changed files with 4 additions and 8 deletions

View File

@ -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:

View File

@ -124,20 +124,15 @@
</table>
<table>
<tr>
<td class="comlumn-name">
</td>
<td style="width:60%;">
<td>
<input type="submit" class="confirm" name="data" id="submit" value="Create !" class="button"/>
</td>
<td style="padding-right: 20px;">
<td class="left-button">
<input type="submit" name="config" id="submit" value="delete" class="ban"/>
</td>
</tr>
</table>
<input type="submit" name="config" id="submit" value="delete" class="button"/>
</form>