@ -34,7 +34,7 @@ const metamaskrc = require('rc')('metamask', {
INFURA _PROD _PROJECT _ID : process . env . INFURA _PROD _PROJECT _ID ,
ONBOARDING _V2 : process . env . ONBOARDING _V2 ,
COLLECTIBLES _V1 : process . env . COLLECTIBLES _V1 ,
PHISHING _PAGE _URL : process . env . PHISHING _PAGE _URL ,
PHISHING _WARNING _ PAGE _URL : process . env . PHISHING _WARN ING _PAGE _URL ,
TOKEN _DETECTION _V2 : process . env . TOKEN _DETECTION _V2 ,
SEGMENT _HOST : process . env . SEGMENT _HOST ,
SEGMENT _WRITE _KEY : process . env . SEGMENT _WRITE _KEY ,
@ -142,7 +142,7 @@ function getSegmentWriteKey({ buildType, environment }) {
* @ returns { string } The URL for the phishing warning page , or ` undefined ` if no URL is set .
* /
function getPhishingWarningPageUrl ( { testing } ) {
let phishingWarningPageUrl = metamaskrc . PHISHING _PAGE _URL ;
let phishingWarningPageUrl = metamaskrc . PHISHING _WARNING _ PAGE _URL ;
if ( ! phishingWarningPageUrl ) {
phishingWarningPageUrl = testing
@ -838,7 +838,7 @@ function getEnvironmentVariables({ buildType, devMode, testing, version }) {
METAMASK _BUILD _TYPE : buildType ,
NODE _ENV : devMode ? ENVIRONMENT . DEVELOPMENT : ENVIRONMENT . PRODUCTION ,
IN _TEST : testing ,
PHISHING _PAGE _URL : getPhishingWarningPageUrl ( { testing } ) ,
PHISHING _WARNING _ PAGE _URL : getPhishingWarningPageUrl ( { testing } ) ,
PUBNUB _SUB _KEY : process . env . PUBNUB _SUB _KEY || '' ,
PUBNUB _PUB _KEY : process . env . PUBNUB _PUB _KEY || '' ,
CONF : devMode ? metamaskrc : { } ,