mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-11 10:45:20 -04:00
Remove a useless route
This commit is contained in:
parent
100f3bb295
commit
2b96456685
1 changed files with 0 additions and 4 deletions
4
main.py
4
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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue