Fix: method not allowed

This commit is contained in:
Éric Li 2021-06-11 14:25:33 +02:00
parent 7435478a23
commit 564af1ea69
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ from app import app, db
from app.forms import *
import app.models as models
@app.route("/")
@app.route("/", methods=["GET","POST"])
@app.route("/index", methods=["GET","POST"])
def index():
form = AccueilForm()