fixed webusb button

pull/2/head
Szymon Lesisz 6 years ago
parent 0c5635d356
commit d3608f7701

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

Loading…
Cancel
Save