fix(config): update config to use getProperties

Fixes #349
This commit is contained in:
Vlad Filippov 2015-11-09 11:40:38 -05:00
Родитель a00167ce0b
Коммит c2ed6ebd24
5 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const config = require('../lib/config').root();
const config = require('../lib/config').getProperties();
const db = require('../lib/db');
const logger = require('../lib/logging')('bin.internal');
const server = require('../lib/server/internal').create();

Просмотреть файл

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const config = require('../lib/config').root();
const config = require('../lib/config').getProperties();
const db = require('../lib/db');
const logger = require('../lib/logging')('bin.server');
const server = require('../lib/server').create();

Просмотреть файл

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const config = require('./config').root();
const config = require('./config').getProperties();
const db = require('./db');
const env = require('./env');
const logger = require('./logging')('events');

Просмотреть файл

@ -5,7 +5,7 @@
const Hapi = require('hapi');
const AppError = require('../error');
const config = require('../config').root();
const config = require('../config').getProperties();
const env = require('../env');
const logger = require('../logging')('server');
const hapiLogger = require('../logging')('server.hapi');

Просмотреть файл

@ -6,7 +6,7 @@ const Hapi = require('hapi');
const AppError = require('../error');
const auth = require('../auth');
const config = require('../config').root();
const config = require('../config').getProperties();
const env = require('../env');
const logger = require('../logging')('server.clients');
const hapiLogger = require('../logging')('server.hapi');