aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-02 21:47:43 +0800
committerFabio Berger <me@fabioberger.com>2018-03-02 21:47:43 +0800
commitda8edd2226d79db78398a1e1e496f97e707e1525 (patch)
tree1f3eb5531f2bc60d6a4498442546c86cc55efde0
parent406aedfdc2062ecbdbc6db4a53ae2bb945fb79d3 (diff)
downloaddexon-sol-tools-da8edd2226d79db78398a1e1e496f97e707e1525.tar
dexon-sol-tools-da8edd2226d79db78398a1e1e496f97e707e1525.tar.gz
dexon-sol-tools-da8edd2226d79db78398a1e1e496f97e707e1525.tar.bz2
dexon-sol-tools-da8edd2226d79db78398a1e1e496f97e707e1525.tar.lz
dexon-sol-tools-da8edd2226d79db78398a1e1e496f97e707e1525.tar.xz
dexon-sol-tools-da8edd2226d79db78398a1e1e496f97e707e1525.tar.zst
dexon-sol-tools-da8edd2226d79db78398a1e1e496f97e707e1525.zip
Undo config changes
-rw-r--r--packages/website/ts/utils/configs.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts
index 44d64e875..388fc8530 100644
--- a/packages/website/ts/utils/configs.ts
+++ b/packages/website/ts/utils/configs.ts
@@ -2,8 +2,10 @@ import * as _ from 'lodash';
import { ContractAddresses, Environments, OutdatedWrappedEtherByNetworkId, PublicNodeUrlsByNetworkId } from 'ts/types';
const BASE_URL = window.location.origin;
-const developmentUrls = ['https://0xproject.localhost:3572', 'https://localhost:3572', 'https://127.0.0.1'];
-const isDevelopment = _.includes(developmentUrls, BASE_URL);
+const isDevelopment = _.includes(
+ ['https://0xproject.localhost:3572', 'https://localhost:3572', 'https://127.0.0.1'],
+ BASE_URL,
+);
const INFURA_API_KEY = 'T5WSC8cautR4KXyYgsRs';
export const configs = {
@@ -13,7 +15,6 @@ export const configs = {
DEFAULT_DERIVATION_PATH: `44'/60'/0'`,
// WARNING: ZRX & WETH MUST always be default trackedTokens
DEFAULT_TRACKED_TOKEN_SYMBOLS: ['WETH', 'ZRX'],
- DEVELOPMENT_URLS: developmentUrls,
DOMAIN_STAGING: 'staging-0xproject.s3-website-us-east-1.amazonaws.com',
DOMAIN_DEVELOPMENT: '0xproject.localhost:3572',
DOMAIN_PRODUCTION: '0xproject.com',