Use TLS for LabelSync

This commit is contained in:
Maran 2015-05-04 12:20:52 +02:00
parent 0a1c8f5546
commit 327c1bafd9
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ from electrum_gui.qt.util import ThreadedButton, Buttons, CancelButton, OkButton
class Plugin(BasePlugin):
target_host = 'sync.bysh.me:9090'
target_host = 'sync.bytesized-hosting.com:9090'
encode_password = None
def fullname(self):
@ -141,7 +141,7 @@ class Plugin(BasePlugin):
def do_request(self, method, url = "/labels", is_batch=False, data=None):
url = 'https://' + self.target_host + url
kwargs = {'headers': {}, 'verify': False}
kwargs = {'headers': {}}
if method == 'GET' and data:
kwargs['params'] = data
elif method == 'POST' and data: