test page
This commit is contained in:
parent
3bf71e36d0
commit
0f2ff36983
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
.venv
|
.venv
|
||||||
|
.env
|
||||||
software
|
software
|
||||||
sys02.lib
|
sys02.lib
|
||||||
.idea
|
.idea
|
5
app.py
5
app.py
@ -22,6 +22,11 @@ def index():
|
|||||||
# Render the HTML file; ensure index.html is in the same folder as app.py
|
# Render the HTML file; ensure index.html is in the same folder as app.py
|
||||||
return render_template('index.html')
|
return render_template('index.html')
|
||||||
|
|
||||||
|
@app.route('/test')
|
||||||
|
def test():
|
||||||
|
# Render the HTML file; ensure index.html is in the same folder as app.py
|
||||||
|
return render_template('test.html')
|
||||||
|
|
||||||
@app.route('/upload', methods=['POST'])
|
@app.route('/upload', methods=['POST'])
|
||||||
def upload():
|
def upload():
|
||||||
if 'file' not in request.files:
|
if 'file' not in request.files:
|
||||||
|
Loading…
Reference in New Issue
Block a user