diff --git a/common/redirect.py b/common/redirect.py index 9ea976f..f11ad44 100644 --- a/common/redirect.py +++ b/common/redirect.py @@ -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 == "/" ):