mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-19 15:33:45 +02:00
fix login page
This commit is contained in:
parent
59348c93b1
commit
67b859a72f
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ class NoTrailingSlashMiddleware:
|
|||
if (
|
||||
old_url.endswith('/')
|
||||
and not old_url.startswith("/admin")
|
||||
and not old_url.startswith("/login")
|
||||
and not old_url.startswith("/api")
|
||||
and not old_url == "/"
|
||||
):
|
||||
|
|
Loading…
Reference in a new issue