diff options
| author | jvoisin | 2018-12-16 20:35:52 +0100 |
|---|---|---|
| committer | jvoisin | 2018-12-16 20:35:52 +0100 |
| commit | 2b964566852cc51005999875c645c758ae514295 (patch) | |
| tree | f580a438e8cc19794cb66ede39d6fb6a53cd6cd8 /main.py | |
| parent | 100f3bb295d93b0e3939087dac4d42160dd6ac6a (diff) | |
Remove a useless route
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -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') | ||
| 39 | def about(): | ||
| 40 | return render_template('about.html', mimetypes=mimetypes) | ||
| 41 | |||
| 42 | @app.route('/', methods=['GET', 'POST']) | 38 | @app.route('/', methods=['GET', 'POST']) |
| 43 | def upload_file(): | 39 | def upload_file(): |
| 44 | if request.method == 'POST': | 40 | if request.method == 'POST': |
