fix
This commit is contained in:
parent
82bb64f388
commit
13b1ab4aac
@ -536,6 +536,8 @@ class StringUtils:
|
||||
"""
|
||||
从地址中获取域名和端口号
|
||||
"""
|
||||
if not address:
|
||||
return None, None
|
||||
if not address.startswith("http"):
|
||||
address = "http://" + address
|
||||
parts = address.split(":")
|
||||
|
Loading…
x
Reference in New Issue
Block a user