Update server.py

This commit is contained in:
Nova Cat 2025-01-15 15:40:32 -08:00
parent af78c79e9d
commit d8af49a62b

View file

@ -209,7 +209,7 @@ def relay():
isquery=False isquery=False
isabs=False isabs=False
isdir=True isdir=True
goto = f"/{goto}" if goto[0] != / else goto goto = f"/{goto}" if goto[0] != "/" else goto
if isquery: if isquery:
tempurl = url tempurl = url
qury = goto[1:] qury = goto[1:]