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:
|
except ValueError as err:
|
||||||
ip = address
|
ip = address
|
||||||
port = 80
|
port = 80
|
||||||
|
if protocol.startswith("https"):
|
||||||
|
port = 443
|
||||||
back = {}
|
back = {}
|
||||||
back["protocol"] = protocol
|
back["protocol"] = protocol
|
||||||
back["address"] = address
|
back["address"] = address
|
||||||
|
|
Loading…
Reference in a new issue