From 7d0876b7adff7e61edc2321e13289b91b204e21e Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 8 Dec 2020 11:19:05 -0500 Subject: [PATCH] chore: remove API_HOST env var support for desktop and update ENABLE_MIRAGE var --- ui/desktop/config/environment.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/desktop/config/environment.js b/ui/desktop/config/environment.js index e4b94e3fc..05aaad491 100644 --- a/ui/desktop/config/environment.js +++ b/ui/desktop/config/environment.js @@ -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', },