aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2019-03-06 00:19:12 +0800
committerGitHub <noreply@github.com>2019-03-06 00:19:12 +0800
commit5530728f7ee74391ce9e3856948a5c2155be3ae4 (patch)
treea946f33762c5de6329737f0173e7a54b5d9ceefc
parentc7573663557b0db778a2907eaf2fd1918ced4914 (diff)
downloadtangerine-wallet-browser-5530728f7ee74391ce9e3856948a5c2155be3ae4.tar
tangerine-wallet-browser-5530728f7ee74391ce9e3856948a5c2155be3ae4.tar.gz
tangerine-wallet-browser-5530728f7ee74391ce9e3856948a5c2155be3ae4.tar.bz2
tangerine-wallet-browser-5530728f7ee74391ce9e3856948a5c2155be3ae4.tar.lz
tangerine-wallet-browser-5530728f7ee74391ce9e3856948a5c2155be3ae4.tar.xz
tangerine-wallet-browser-5530728f7ee74391ce9e3856948a5c2155be3ae4.tar.zst
tangerine-wallet-browser-5530728f7ee74391ce9e3856948a5c2155be3ae4.zip
Fix MetaMetrics Environment Check (#6235)
-rw-r--r--ui/app/metametrics/metametrics.util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/metametrics/metametrics.util.js b/ui/app/metametrics/metametrics.util.js
index 2da7e2da8..64d7f5e82 100644
--- a/ui/app/metametrics/metametrics.util.js
+++ b/ui/app/metametrics/metametrics.util.js
@@ -2,7 +2,7 @@
const ethUtil = require('ethereumjs-util')
-const inDevelopment = process.env.METAMETRICS_URL === 'development'
+const inDevelopment = process.env.NODE_ENV === 'development'
const METAMETRICS_BASE_URL = 'https://chromeextensionmm.innocraft.cloud/piwik.php'
const METAMETRICS_REQUIRED_PARAMS = `?idsite=${inDevelopment ? 1 : 2}&rec=1&apiv=1`