mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	a
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user