This commit is contained in:
Henry Jameson 2018-12-11 19:01:08 +03:00
parent 4eb075fae7
commit c54eb1ecad

View file

@ -43,7 +43,7 @@ const afterStoreSetup = ({store, i18n}) => {
// This takes static config and overrides properties that are present in apiConfig // This takes static config and overrides properties that are present in apiConfig
let config = {} let config = {}
if (overrides.staticConfigPreference && env === 'DEV') { if (overrides.staticConfigPreference && env === 'development') {
console.warn('OVERRIDING API CONFIG WITH STATIC CONFIG') console.warn('OVERRIDING API CONFIG WITH STATIC CONFIG')
config = Object.assign({}, apiConfig, staticConfig) config = Object.assign({}, apiConfig, staticConfig)
} else { } else {