Update server.py

This commit is contained in:
Nova Cat 2025-01-13 16:39:52 -08:00
parent 69eebbb1d8
commit 5fd8cc29d2

View file

@ -102,7 +102,6 @@ def relay():
if isabs:
tempurl = urlparse(fulladdr).hostname + "/" + (goto[1:] if dubleslash else goto)
elif isdir:
print(url + goto)
tempurl = url + goto
else:
tempurl = "/".join(url.split("/")[:-1]) + "/" + goto