summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-12-16 20:35:52 +0100
committerjvoisin2018-12-16 20:35:52 +0100
commit2b964566852cc51005999875c645c758ae514295 (patch)
treef580a438e8cc19794cb66ede39d6fb6a53cd6cd8
parent100f3bb295d93b0e3939087dac4d42160dd6ac6a (diff)
Remove a useless route
-rw-r--r--main.py4
1 files changed, 0 insertions, 4 deletions
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):
35 return response 35 return response
36 return send_from_directory(app.config['UPLOAD_FOLDER'], filepath) 36 return send_from_directory(app.config['UPLOAD_FOLDER'], filepath)
37 37
38@app.route('/about')
39def about():
40 return render_template('about.html', mimetypes=mimetypes)
41
42@app.route('/', methods=['GET', 'POST']) 38@app.route('/', methods=['GET', 'POST'])
43def upload_file(): 39def upload_file():
44 if request.method == 'POST': 40 if request.method == 'POST':