on master help sign in
network: add roller staging host
685bb75yosoyubik
src/lib/constants.ts+1−1
@@ -103,7 +103,7 @@ const NONCUSTODIAL_WALLETS = new Set([
103const ROLLER_HOSTS = {
103const ROLLER_HOSTS = {
104 LOCAL: 'localhost',
104 LOCAL: 'localhost',
105 ROPSTEN: 'roller-tmp.urbit.org',
105 ROPSTEN: 'roller-tmp.urbit.org',
106− MAINNET: 'roller.urbit.org',
106+ MAINNET: 'roller-staging.urbit.org', // TODO: temporary
107};
107};
108
108
109const POINT_DOMINIONS = {
109const POINT_DOMINIONS = {
src/lib/useRoller.ts+1−1
@@ -90,7 +90,7 @@ export default function useRoller() {
90 : isDevelopment
90 : isDevelopment
91 ? ROLLER_HOSTS.LOCAL
91 ? ROLLER_HOSTS.LOCAL
92 : ROLLER_HOSTS.MAINNET;
92 : ROLLER_HOSTS.MAINNET;
93− const port = isRopsten ? 443 : 8080;
93+ const port = isDevelopment ? 8080 : 443;
94 const path = '/v1/roller';
94 const path = '/v1/roller';
95
95
96 return {
96 return {