if protocol https choose port 443
This commit is contained in:
parent
fb836fcf6f
commit
58516913b4
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ class SiteAnnouncer(object):
|
|||
except ValueError as err:
|
||||
ip = address
|
||||
port = 80
|
||||
if protocol.startswith("https"):
|
||||
port = 443
|
||||
back = {}
|
||||
back["protocol"] = protocol
|
||||
back["address"] = address
|
||||
|
|
Loading…
Reference in a new issue