ws: add 7130 as default for wss close #786

This commit is contained in:
alfrix 2022-11-16 20:32:31 -03:00
parent dd33ee04bb
commit 9b1b9593e8

View File

@ -53,7 +53,7 @@ class KlippyWebsocket(threading.Thread):
@property @property
def ws_proto(self): def ws_proto(self):
if int(self.port) == 443: if int(self.port) in {443, 7130}:
return "wss" return "wss"
return "ws" return "ws"