aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2019-01-08 09:09:36 +0800
committerfragosti <francesco.agosti93@gmail.com>2019-01-08 09:09:36 +0800
commit1f0f2076a9863d3048312c2f8f27e9b5f0202678 (patch)
treeb22904077a232f7d2e9493da58f6f4555592c043 /packages/website/ts
parent7dda953bc929e218121c331fedb3884b24555855 (diff)
downloaddexon-sol-tools-1f0f2076a9863d3048312c2f8f27e9b5f0202678.tar
dexon-sol-tools-1f0f2076a9863d3048312c2f8f27e9b5f0202678.tar.gz
dexon-sol-tools-1f0f2076a9863d3048312c2f8f27e9b5f0202678.tar.bz2
dexon-sol-tools-1f0f2076a9863d3048312c2f8f27e9b5f0202678.tar.lz
dexon-sol-tools-1f0f2076a9863d3048312c2f8f27e9b5f0202678.tar.xz
dexon-sol-tools-1f0f2076a9863d3048312c2f8f27e9b5f0202678.tar.zst
dexon-sol-tools-1f0f2076a9863d3048312c2f8f27e9b5f0202678.zip
fix: CORS issue by accessing 0x geth nodes through 0x.org endpoint
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/utils/configs.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts
index fab382b07..663f90249 100644
--- a/packages/website/ts/utils/configs.ts
+++ b/packages/website/ts/utils/configs.ts
@@ -39,8 +39,8 @@ export const configs = {
] as OutdatedWrappedEtherByNetworkId[],
// The order matters. We first try first node and only then fall back to others.
PUBLIC_NODE_URLS_BY_NETWORK_ID: {
- [1]: [`https://mainnet.infura.io/${INFURA_API_KEY}`, 'https://mainnet.0xproject.com'],
- [42]: [`https://kovan.infura.io/${INFURA_API_KEY}`, 'https://kovan.0xproject.com'],
+ [1]: [`https://mainnet.infura.io/${INFURA_API_KEY}`, 'https://mainnet.0x.org'],
+ [42]: [`https://kovan.infura.io/${INFURA_API_KEY}`, 'https://kovan.0x.org'],
[3]: [`https://ropsten.infura.io/${INFURA_API_KEY}`],
[4]: [`https://rinkeby.infura.io/${INFURA_API_KEY}`],
} as PublicNodeUrlsByNetworkId,