Remove strict_slashes for /

I don't know why, but on my setup (nginx + uwsgi), the `strict_slashes` (default to `True`) was causing an infinite loop.
I think it could be safely removed for this route only.
This commit is contained in:
Glandos 2018-07-11 13:23:56 +02:00 committed by GitHub
parent 61f0fdde84
commit 0b4b68aad7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,7 @@ def authenticate(project_id=None):
return render_template("authenticate.html", form=form)
@main.route("/")
@main.route("/", strict_slashes=False)
def home():
project_form = ProjectForm()
auth_form = AuthenticationForm()