Update server.py
This commit is contained in:
parent
69eebbb1d8
commit
5fd8cc29d2
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ def relay():
|
||||||
if isabs:
|
if isabs:
|
||||||
tempurl = urlparse(fulladdr).hostname + "/" + (goto[1:] if dubleslash else goto)
|
tempurl = urlparse(fulladdr).hostname + "/" + (goto[1:] if dubleslash else goto)
|
||||||
elif isdir:
|
elif isdir:
|
||||||
print(url + goto)
|
|
||||||
tempurl = url + goto
|
tempurl = url + goto
|
||||||
else:
|
else:
|
||||||
tempurl = "/".join(url.split("/")[:-1]) + "/" + goto
|
tempurl = "/".join(url.split("/")[:-1]) + "/" + goto
|
||||||
|
|
Loading…
Add table
Reference in a new issue