use a new key to reference the config

pull/3094/head
yann300 6 years ago
parent 796b945e95
commit 514e3c39e2
  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