aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/constants.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-12-04 06:24:58 +0800
committerGitHub <noreply@github.com>2018-12-04 06:24:58 +0800
commit50df67e7511460f051f91785bb4384485077ef60 (patch)
tree3caa4fac28a2af99e7e7d0beff7a661d26f8665e /packages/instant/src/constants.ts
parentf076cdb8329693e9d7351ec88d2ac01ad42a2a3a (diff)
parent91b0fd951708b0fff0733c2e1eed45a403f3cc73 (diff)
downloaddexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar.gz
dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.tar.zst
dexon-sol-tools-50df67e7511460f051f91785bb4384485077ef60.zip
Merge pull request #1295 from 0xProject/feature/instant/rollbar-env
[instant] Rollbar
Diffstat (limited to 'packages/instant/src/constants.ts')
-rw-r--r--packages/instant/src/constants.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/instant/src/constants.ts b/packages/instant/src/constants.ts
index 0dd770ec6..1194cf881 100644
--- a/packages/instant/src/constants.ts
+++ b/packages/instant/src/constants.ts
@@ -22,6 +22,16 @@ export const HEAP_ANALYTICS_ID = process.env.HEAP_ANALYTICS_ID;
export const COINBASE_API_BASE_URL = 'https://api.coinbase.com/v2';
export const PROGRESS_STALL_AT_WIDTH = '95%';
export const PROGRESS_FINISH_ANIMATION_TIME_MS = 200;
+export const HOST_DOMAINS = [
+ '0x-instant-staging.s3-website-us-east-1.amazonaws.com',
+ '0x-instant-dogfood.s3-website-us-east-1.amazonaws.com',
+ 'localhost',
+ '127.0.0.1',
+ '0.0.0.0',
+ 'instant.0xproject.com',
+];
+export const ROLLBAR_CLIENT_TOKEN = process.env.ROLLBAR_CLIENT_TOKEN;
+export const ROLLBAR_ENABLED = process.env.ROLLBAR_ENABLED;
export const INSTANT_DISCHARGE_TARGET = process.env.INSTANT_DISCHARGE_TARGET as
| 'production'
| 'dogfood'