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"]) @app.route("/config/", methods=["POST"])
def config_post(): def config_post():
action = request.form action = request.form
print(action)
with open("/app/MsRewards-Reborn/user_data/proxy.json", "r") as inFile: with open("/app/MsRewards-Reborn/user_data/proxy.json", "r") as inFile:
proxys = json.load(inFile) proxys = json.load(inFile)
with open("/app/MsRewards-Reborn/user_data/discord.json", "r") as inFile: with open("/app/MsRewards-Reborn/user_data/discord.json", "r") as inFile:

View File

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