1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 11:09:01 +00:00

Bridge uses wallet.trezor.io for config file.

This commit is contained in:
slush0 2016-06-27 17:11:43 +02:00
parent 58fd1bb512
commit 514a7643f5

View File

@ -7,7 +7,7 @@ from . import messages_pb2 as proto
from .transport import Transport
TREZORD_HOST = 'https://localback.net:21324'
CONFIG_URL = 'https://mytrezor.com/data/plugin/config_signed.bin'
CONFIG_URL = 'https://wallet.trezor.io/data/config_signed.bin'
def get_error(resp):
return ' (error=%d str=%s)' % (resp.status_code, resp.json()['error'])
@ -26,7 +26,7 @@ class BridgeTransport(Transport):
@staticmethod
def configure():
r = requests.get(CONFIG_URL)
r = requests.get(CONFIG_URL, verify=False)
if r.status_code != 200:
raise Exception('Could not fetch config from %s' % CONFIG_URL)