1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-14 04:19:09 +00:00

update connectSrc

This commit is contained in:
Szymon Lesisz 2020-04-03 10:53:35 +02:00
parent 94ea4d663b
commit 87e71a3e13

View File

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