network: bugfix for incorrect port in local dev
commitbe52b334d0f8f92b7e8c7661079a5a1d38d4cbaf
authoryosoyubik <yosoyubik@gmail.com>
dateTue 9 Nov 2021, 04:50 (5 years ago)
parent685bb75
src/lib/useRoller.ts+1−1
@@ -90,7 +90,7 @@ export default function useRoller() {
9090 : isDevelopment
9191 ? ROLLER_HOSTS.LOCAL
9292 : ROLLER_HOSTS.MAINNET;
93− const port = isDevelopment ? 8080 : 443;
93+ const port = isDevelopment && !isRopsten ? 8080 : 443;
9494 const path = '/v1/roller';
9595
9696 return {