url /
This commit is contained in:
parent
84048baecd
commit
8a979eb35b
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ def create_app():
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/lost/<string:id>', methods=['POST', 'GET'])
|
@app.route('/lost/<string:id>/', methods=['POST', 'GET'])
|
||||||
def lost(id = "grille") :
|
def lost(id = "grille") :
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
if 'YES' in request.form:
|
if 'YES' in request.form:
|
||||||
|
@ -111,7 +111,7 @@ def create_app():
|
||||||
|
|
||||||
return render_template('lost.html',img=id)
|
return render_template('lost.html',img=id)
|
||||||
|
|
||||||
@app.route('/end/<string:id>', methods=['POST', 'GET'])
|
@app.route('/end/<string:id>/', methods=['POST', 'GET'])
|
||||||
def end(id = "grille") :
|
def end(id = "grille") :
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
if 'YES' in request.form:
|
if 'YES' in request.form:
|
||||||
|
|
Loading…
Reference in a new issue