commit 4bed294ddd8fd4e95ebc19ca56731ed536ed8826
parent 7316f613d62b8a0f618f1a56b136bad5fac1fa25
Author: Maran <maran.hidskes@gmail.com>
Date: Tue, 28 Apr 2015 12:54:33 +0200
Change labelsync to use https
Self signed for now until I get a wildcard
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/labels.py b/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:8080'
+ target_host = 'sync.bysh.me:9090'
encode_password = None
def fullname(self):
@@ -140,8 +140,8 @@ class Plugin(BasePlugin):
QMessageBox.information(None, _("Labels synchronised"), _("Your labels have been synchronised."))
def do_request(self, method, url = "/labels", is_batch=False, data=None):
- url = 'http://' + self.target_host + url
- kwargs = {'headers': {}}
+ url = 'https://' + self.target_host + url
+ kwargs = {'headers': {}, 'verify': False}
if method == 'GET' and data:
kwargs['params'] = data
elif method == 'POST' and data: