Update server.py
This commit is contained in:
parent
a459583d16
commit
af78c79e9d
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ def relay():
|
||||||
isabs = goto[0] == "/" or goto[0:2] == "//"
|
isabs = goto[0] == "/" or goto[0:2] == "//"
|
||||||
isquery = goto[0] == "?"
|
isquery = goto[0] == "?"
|
||||||
dubleslash = goto[0:2] == "//"
|
dubleslash = goto[0:2] == "//"
|
||||||
if url = urlparse(fulladdr).hostname:
|
if url == urlparse(fulladdr).hostname:
|
||||||
isquery=False
|
isquery=False
|
||||||
isabs=False
|
isabs=False
|
||||||
isdir=True
|
isdir=True
|
||||||
|
|
Loading…
Add table
Reference in a new issue