update connectSrc

pull/625/head
Szymon Lesisz 4 years ago
parent 94ea4d663b
commit 87e71a3e13

@ -120,16 +120,15 @@ export const init = (): AsyncAction => async (
dispatch(event);
});
let connectSrc;
if (buildUtils.isDev()) {
// eslint-disable-next-line
window.__TREZOR_CONNECT_SRC =
typeof LOCAL === 'string' ? LOCAL : 'https://connect.corp.sldev.cz/develop/'; // eslint-disable-line no-underscore-dangle
// window.__TREZOR_CONNECT_SRC = typeof LOCAL === 'string' ? LOCAL : 'https://localhost:8088/'; // eslint-disable-line no-underscore-dangle
connectSrc = typeof LOCAL === 'string' ? LOCAL : 'https://connect.corp.sldev.cz/develop/';
window.TrezorConnect = TrezorConnect;
}
try {
await TrezorConnect.init({
connectSrc,
transportReconnect: true,
debug: false,
popup: false,

Loading…
Cancel
Save