From 2b964566852cc51005999875c645c758ae514295 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 16 Dec 2018 20:35:52 +0100 Subject: Remove a useless route --- main.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 4547a92..9cfb73d 100644 --- a/main.py +++ b/main.py @@ -35,10 +35,6 @@ def download_file(filename:str): return response return send_from_directory(app.config['UPLOAD_FOLDER'], filepath) -@app.route('/about') -def about(): - return render_template('about.html', mimetypes=mimetypes) - @app.route('/', methods=['GET', 'POST']) def upload_file(): if request.method == 'POST': -- cgit v1.3