Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix DEBUG check #1576

Benjamin Kingebdb09a29c97
diff --git a/web/js/main.js b/web/js/main.js
index fb55ee1f9..1d32be956 100644
--- a/web/js/main.js
+++ b/web/js/main.js
@@ -31,7 +31,7 @@ import { debugConfig } from './debug';
import { changeProjection } from './modules/projection/actions';
const history = createBrowserHistory();
-const isDebugMode = DEBUG === 'true';
+const isDebugMode = typeof DEBUG !== 'undefined';
const configURI = Brand.url('config/wv.json');
const startTime = new Date().getTime();
let parameters = util.fromQueryString(location.search);