mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	tests
This commit is contained in:
		@@ -406,10 +406,11 @@ def logs():
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@login_required
 | 
					 | 
				
			||||||
@app.route('/download/<path:filename>', methods=['GET', 'POST'])
 | 
					@app.route('/download/<path:filename>', methods=['GET', 'POST'])
 | 
				
			||||||
 | 
					@login_required
 | 
				
			||||||
def download(filename):
 | 
					def download(filename):
 | 
				
			||||||
    return send_from_directory(directory='/app/MsRewards-Reborn/user_data/', path=filename)
 | 
					    print("file send !")
 | 
				
			||||||
 | 
					    return send_from_directory(directory='/app/MsRewards-Reborn/user_data/', path=filename, as_attachment=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user