aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-02-07 07:31:12 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-02-07 07:31:12 +0800
commitf818d06b43ae9279c4ee022685e3bcb9f27ba2fd (patch)
tree1b8d387846d3de4815142c2e1e1e5b803cdc20f3
parent2bf1aa975afc242e49bcd19c0b57a3730e27639e (diff)
downloaddexon-0x-contracts-f818d06b43ae9279c4ee022685e3bcb9f27ba2fd.tar
dexon-0x-contracts-f818d06b43ae9279c4ee022685e3bcb9f27ba2fd.tar.gz
dexon-0x-contracts-f818d06b43ae9279c4ee022685e3bcb9f27ba2fd.tar.bz2
dexon-0x-contracts-f818d06b43ae9279c4ee022685e3bcb9f27ba2fd.tar.lz
dexon-0x-contracts-f818d06b43ae9279c4ee022685e3bcb9f27ba2fd.tar.xz
dexon-0x-contracts-f818d06b43ae9279c4ee022685e3bcb9f27ba2fd.tar.zst
dexon-0x-contracts-f818d06b43ae9279c4ee022685e3bcb9f27ba2fd.zip
Change rpcUrls keys back into string literals
-rw-r--r--packages/testnet-faucets/src/ts/rpc_urls.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/testnet-faucets/src/ts/rpc_urls.ts b/packages/testnet-faucets/src/ts/rpc_urls.ts
index c57e85eac..25a3b938f 100644
--- a/packages/testnet-faucets/src/ts/rpc_urls.ts
+++ b/packages/testnet-faucets/src/ts/rpc_urls.ts
@@ -1,13 +1,13 @@
import { configs } from './configs';
const productionRpcUrls = {
- 2: `https://ropsten.infura.io/${configs.INFURA_API_KEY}`,
- 3: `https://rinkeby.infura.io/${configs.INFURA_API_KEY}`,
- 42: `https://kovan.infura.io/${configs.INFURA_API_KEY}`,
+ '2': `https://ropsten.infura.io/${configs.INFURA_API_KEY}`,
+ '3': `https://rinkeby.infura.io/${configs.INFURA_API_KEY}`,
+ '42': `https://kovan.infura.io/${configs.INFURA_API_KEY}`,
};
const developmentRpcUrls = {
- 50: 'http://127.0.0.1:8545',
+ '50': 'http://127.0.0.1:8545',
};
export const rpcUrls = configs.ENVIRONMENT === 'development' ? developmentRpcUrls : productionRpcUrls;