mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 11:12:17 -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 response
|
||||||
return send_from_directory(app.config['UPLOAD_FOLDER'], filepath)
|
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'])
|
@app.route('/', methods=['GET', 'POST'])
|
||||||
def upload_file():
|
def upload_file():
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue