chore: remove API_HOST env var support for desktop and update ENABLE_MIRAGE var

This commit is contained in:
Randall Morey committed 2020-12-08 11:19:05 -05:00
1 parent 526e374654
commit 7d0876b7ad
1 file changed
+3 -3
+3 -3
View File
@@ -1,8 +1,7 @@
'use strict';
const APP_NAME = process.env.APP_NAME || 'Boundary';
const API_HOST = process.env.API_HOST || '';
const ENABLE_MIRAGE = process.env.API_HOST ? false : true;
const ENABLE_MIRAGE = process.env.ENABLE_MIRAGE === 'false' ? false : true;
module.exports = function (environment) {
let ENV = {
@@ -35,7 +34,8 @@ module.exports = function (environment) {
},
api: {
host: API_HOST,
// there is no default API host in desktop
//host: API_HOST,
namespace: 'v1',
},