Auriane Lartigue 2 years ago
parent
commit
8a979eb35b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      main/Dockerfiles/app/App/app/app.py

+ 2
- 2
main/Dockerfiles/app/App/app/app.py View File

@@ -87,7 +87,7 @@ def create_app():
87 87
 
88 88
 
89 89
 
90
-    @app.route('/lost/<string:id>', methods=['POST', 'GET'])
90
+    @app.route('/lost/<string:id>/', methods=['POST', 'GET'])
91 91
     def lost(id = "grille") :
92 92
         if request.method == "POST":
93 93
             if 'YES' in request.form:
@@ -111,7 +111,7 @@ def create_app():
111 111
 
112 112
         return render_template('lost.html',img=id)
113 113
 
114
-    @app.route('/end/<string:id>', methods=['POST', 'GET'])
114
+    @app.route('/end/<string:id>/', methods=['POST', 'GET'])
115 115
     def end(id = "grille") :
116 116
         if request.method == "POST":
117 117
             if 'YES' in request.form:

Loading…
Cancel
Save