diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-16 21:15:23 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-16 21:15:23 +0800 |
commit | 22f3f57f44cfc4bdd27a79df36a8d80b96b02a07 (patch) | |
tree | d0d7a510b4322d1253a6f3d02c6267c4c7eabed2 /packages/website/ts/utils/configs.ts | |
parent | b2f362225c5c03526852fc6b997241faba6d1231 (diff) | |
parent | cc486cb86d46cefbd31a43a87be3ee9b3fd461a6 (diff) | |
download | dexon-sol-tools-22f3f57f44cfc4bdd27a79df36a8d80b96b02a07.tar dexon-sol-tools-22f3f57f44cfc4bdd27a79df36a8d80b96b02a07.tar.gz dexon-sol-tools-22f3f57f44cfc4bdd27a79df36a8d80b96b02a07.tar.bz2 dexon-sol-tools-22f3f57f44cfc4bdd27a79df36a8d80b96b02a07.tar.lz dexon-sol-tools-22f3f57f44cfc4bdd27a79df36a8d80b96b02a07.tar.xz dexon-sol-tools-22f3f57f44cfc4bdd27a79df36a8d80b96b02a07.tar.zst dexon-sol-tools-22f3f57f44cfc4bdd27a79df36a8d80b96b02a07.zip |
Merge branch 'development' into improvement/addCustomTslintRules
* development:
fix style errors
Fix circular dependency
Add my profile image to images
Add myself to about page
Add dogfood configs to website
Change minimum Node version to 6.12
Document Node.js version requirement and add it to package.json
Diffstat (limited to 'packages/website/ts/utils/configs.ts')
-rw-r--r-- | packages/website/ts/utils/configs.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts index a54fc56a8..9fec814b7 100644 --- a/packages/website/ts/utils/configs.ts +++ b/packages/website/ts/utils/configs.ts @@ -1,5 +1,6 @@ import * as _ from 'lodash'; import { Environments, OutdatedWrappedEtherByNetworkId, PublicNodeUrlsByNetworkId } from 'ts/types'; +import { utils } from 'ts/utils/utils'; const BASE_URL = window.location.origin; const isDevelopment = _.includes( @@ -10,13 +11,15 @@ const INFURA_API_KEY = 'T5WSC8cautR4KXyYgsRs'; export const configs = { AMOUNT_DISPLAY_PRECSION: 5, - BACKEND_BASE_URL: 'https://website-api.0xproject.com', + BACKEND_BASE_PROD_URL: 'https://website-api.0xproject.com', + BACKEND_BASE_STAGING_URL: 'http://ec2-52-91-181-85.compute-1.amazonaws.com', BASE_URL, BITLY_ACCESS_TOKEN: 'ffc4c1a31e5143848fb7c523b39f91b9b213d208', DEFAULT_DERIVATION_PATH: `44'/60'/0'`, // WARNING: ZRX & WETH MUST always be default trackedTokens DEFAULT_TRACKED_TOKEN_SYMBOLS: ['WETH', 'ZRX'], DOMAIN_STAGING: 'staging-0xproject.s3-website-us-east-1.amazonaws.com', + DOMAIN_DOGFOOD: 'dogfood-0xproject.s3-website-us-east-1.amazonaws.com', DOMAIN_DEVELOPMENT: '0xproject.localhost:3572', DOMAIN_PRODUCTION: '0xproject.com', ENVIRONMENT: isDevelopment ? Environments.DEVELOPMENT : Environments.PRODUCTION, |