diff --git a/src/app/containers/FastBtcForm/saga.ts b/src/app/containers/FastBtcForm/saga.ts index 0ceb9f11c..88e6d9a23 100644 --- a/src/app/containers/FastBtcForm/saga.ts +++ b/src/app/containers/FastBtcForm/saga.ts @@ -40,9 +40,9 @@ function createWebSocketChannel(state) { return eventChannel(emit => { const { origin, pathname } = new URL(fastBtcApis[currentChainId]); - const socket = io(origin, { + const socket = io(`${origin}/`, { reconnectionDelayMax: 10000, - path: pathname, + path: pathname && pathname !== '/' ? pathname : '', }); if (state.receiverAddress) { diff --git a/src/utils/classifiers.ts b/src/utils/classifiers.ts index af9153033..4ff975739 100644 --- a/src/utils/classifiers.ts +++ b/src/utils/classifiers.ts @@ -35,7 +35,7 @@ export const readNodes = { }; export const fastBtcApis = { - 30: 'https://fastbtc.sovryn.app', + 30: 'https://fastbtc.sovryn.app/', 31: 'https://testnet.sovryn.app/fastbtc', };