mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
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:
parent
61f0fdde84
commit
0b4b68aad7
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue