From 5530728f7ee74391ce9e3856948a5c2155be3ae4 Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Tue, 5 Mar 2019 12:49:12 -0330 Subject: Fix MetaMetrics Environment Check (#6235) --- ui/app/metametrics/metametrics.util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') 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` -- cgit v1.2.3