From a728f2368c04ada48b73ffff2ce4a54c2ab5e544 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 4 Nov 2016 14:58:35 -0700 Subject: [PATCH] [Build] Don't enable local storage by default ...except for the dev instance of Open MCT run from index.html. Fixes #1270 --- index.html | 3 ++- src/defaultRegistry.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b6b1715116..d3cdac9320 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,8 @@ 'example/imagery', 'example/eventGenerator', 'example/generator', - 'platform/features/my-items' + 'platform/features/my-items', + 'platform/persistence/local' ].forEach( openmct.legacyRegistry.enable.bind(openmct.legacyRegistry) ); diff --git a/src/defaultRegistry.js b/src/defaultRegistry.js index 485caacca9..56a8bd0ce9 100644 --- a/src/defaultRegistry.js +++ b/src/defaultRegistry.js @@ -125,7 +125,6 @@ define([ 'platform/forms', 'platform/identity', 'platform/persistence/aggregator', - 'platform/persistence/local', 'platform/persistence/queue', 'platform/policy', 'platform/entanglement',