Browse Source

Use TLS for LabelSync

283
Maran 10 years ago
parent
commit
327c1bafd9
  1. 4
      plugins/labels.py

4
plugins/labels.py

@ -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:

Loading…
Cancel
Save