diff --git a/homu/server.py b/homu/server.py index 3cde1ad..bb6dee8 100644 --- a/homu/server.py +++ b/homu/server.py @@ -1042,6 +1042,8 @@ def redirect_to_canonical_host(): elif redirect_url.path == "/" + prefix: redirect_url = redirect_url._replace(path="/") + print("request_url=", request_url) + print("redirect_url=", redirect_url) if request_url != redirect_url: redirect(urllib.parse.urlunparse(redirect_url), 301)