Skip to content

Commit

Permalink
if protocol https choose port 443
Browse files Browse the repository at this point in the history
  • Loading branch information
rllola committed Mar 10, 2019
1 parent fb836fc commit 5851691
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Site/SiteAnnouncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ def getAddressParts(self, tracker):
except ValueError as err:
ip = address
port = 80
if protocol.startswith("https"):
port = 443
back = {}
back["protocol"] = protocol
back["address"] = address
Expand Down

0 comments on commit 5851691

Please sign in to comment.