Update server.py

This commit is contained in:
Nova Cat 2025-01-14 22:09:20 -08:00
parent 7d1b053ced
commit 8401bcfb83

View file

@ -204,7 +204,7 @@ def relay():
dubleslash = goto[0:2] == "//" dubleslash = goto[0:2] == "//"
if isquery: if isquery:
tempurl = url tempurl = url
qury = "" qury = goto[1:]
elif isabs: elif 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: