diff --git a/src/plugins/plugins.js b/src/plugins/plugins.js index 09a4fd4f01..10d8733787 100644 --- a/src/plugins/plugins.js +++ b/src/plugins/plugins.js @@ -41,6 +41,21 @@ define([ plugins.CouchDB = function (url) { return function (openmct) { + if (url) { + var bundleName = "config/couch"; + openmct.legacyRegistry.register(bundleName, { + "extensions": { + "constants": [ + { + "key": "COUCH_PATH", + "value": url, + "priority": "mandatory" + } + ] + } + }); + openmct.legacyRegistry.enable(bundleName); + } openmct.legacyRegistry.enable(bundleMap.couchDB); };