diff options
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': |
