We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ffa187 commit 8dc76afCopy full SHA for 8dc76af
homu/server.py
@@ -1042,6 +1042,8 @@ def redirect_to_canonical_host():
1042
elif redirect_url.path == "/" + prefix:
1043
redirect_url = redirect_url._replace(path="/")
1044
1045
+ print("request_url=", request_url)
1046
+ print("redirect_url=", redirect_url)
1047
if request_url != redirect_url:
1048
redirect(urllib.parse.urlunparse(redirect_url), 301)
1049
0 commit comments