Update server.py

This commit is contained in:
Nova Cat 2025-01-13 20:15:40 -08:00
parent 5220611d5c
commit 97b9a37add

View file

@ -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: