1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-12 09:00:58 +00:00

fixed webusb button

This commit is contained in:
Szymon Lesisz 2018-08-08 13:21:28 +02:00
parent 0c5635d356
commit d3608f7701

View File

@ -111,12 +111,12 @@ export const init = (): AsyncAction => async (dispatch: Dispatch, getState: GetS
});
});
// $FlowIssue LOCAL not declared
window.__TREZOR_CONNECT_SRC = typeof LOCAL === 'string' ? LOCAL : 'https://connect.trezor.io/5/';
try {
await TrezorConnect.init({
transportReconnect: true,
connectSrc: typeof window.LOCAL === 'string' ? window.LOCAL : 'https://connect.trezor.io/5/',
// connectSrc: 'https://connect.trezor.io/5/',
// connectSrc: 'https://sisyfos.trezor.io/',
debug: true,
popup: false,
webusb: true,