Update server.py
This commit is contained in:
parent
7d1b053ced
commit
8401bcfb83
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue