use a new key to reference the config

pull/1/head
yann300 6 years ago
parent 4d6d76dc01
commit 3930957c5b
  1. 4
      src/app.js

@ -123,10 +123,10 @@ class App {
var fileStorage = new Storage('sol:')
registry.put({api: fileStorage, name: 'fileStorage'})
var configStorage = new Storage('config:')
var configStorage = new Storage('config-v0.8:')
registry.put({api: configStorage, name: 'configStorage'})
self._components.config = new Config(fileStorage)
self._components.config = new Config(configStorage)
registry.put({api: self._components.config, name: 'config'})
executionContext.init(self._components.config)

Loading…
Cancel
Save