diff --git a/ui/config/environment.js b/ui/config/environment.js index 626a14295..56f9179f0 100644 --- a/ui/config/environment.js +++ b/ui/config/environment.js @@ -1,6 +1,10 @@ /* eslint-env node */ -const USE_MIRAGE = true; +let USE_MIRAGE = true; + +if (process.env.USE_MIRAGE) { + USE_MIRAGE = process.env.USE_MIRAGE == 'true'; +} module.exports = function(environment) { var ENV = {