diff --git a/server.py b/server.py index ad5f2c5..e8f10c9 100644 --- a/server.py +++ b/server.py @@ -113,7 +113,7 @@ def relay(): isabs = goto[0] == "/" or goto[0:2] == "//" dubleslash = goto[0:2] == "//" if isabs: - tempurl = urlparse(fulladdr).hostname + "/" + (goto[1:] if dubleslash else goto) + tempurl = urlparse(fulladdr).hostname + (goto[1:] if dubleslash else goto) elif isdir: tempurl = url + goto else: