diff --git a/src/boot/after_store.js b/src/boot/after_store.js
index 9ce2d7ed..4374ce8e 100644
--- a/src/boot/after_store.js
+++ b/src/boot/after_store.js
@@ -43,7 +43,7 @@ const afterStoreSetup = ({store, i18n}) => {
 
           // This takes static config and overrides properties that are present in apiConfig
           let config = {}
-          if (overrides.staticConfigPreference && env === 'DEV') {
+          if (overrides.staticConfigPreference && env === 'development') {
             console.warn('OVERRIDING API CONFIG WITH STATIC CONFIG')
             config = Object.assign({}, apiConfig, staticConfig)
           } else {