ZeroName only match .bit domains
This commit is contained in:
parent
42874038e2
commit
bc02de4b18
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class SiteManagerPlugin(object):
|
|||
|
||||
# Return: True if the address is domain
|
||||
def isDomain(self, address):
|
||||
return re.match("(.*?)([A-Za-z0-9_-]+\.[A-Za-z0-9]+)$", address)
|
||||
return re.match("(.*?)([A-Za-z0-9_-]+\.bit)$", address)
|
||||
|
||||
# Resolve domain
|
||||
# Return: The address or None
|
||||
|
|
Loading…
Reference in a new issue