diff options
| author | Glandos <bugs-github@antipoul.fr> | 2018-07-11 13:23:56 +0200 |
|---|---|---|
| committer | Alexis Métaireau <alexis@vieuxsinge.com> | 2018-08-05 14:57:55 +0200 |
| commit | c1b5eb1375cef77454973d5345628de1a9fe9ae6 (patch) | |
| tree | 0c79f78cbe8e563c2a2ae1bdc6a0fcb56b471451 /ihatemoney/web.py | |
| parent | 633e3543b24fb241135770afe0ca8bcd8ceae072 (diff) | |
| download | ihatemoney-mirror-c1b5eb1375cef77454973d5345628de1a9fe9ae6.zip ihatemoney-mirror-c1b5eb1375cef77454973d5345628de1a9fe9ae6.tar.gz ihatemoney-mirror-c1b5eb1375cef77454973d5345628de1a9fe9ae6.tar.bz2 | |
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.
Diffstat (limited to 'ihatemoney/web.py')
| -rw-r--r-- | ihatemoney/web.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/web.py b/ihatemoney/web.py index 1e16202..6e876c0 100644 --- a/ihatemoney/web.py +++ b/ihatemoney/web.py @@ -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() |
