Родитель
a00167ce0b
Коммит
c2ed6ebd24
|
@ -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');
|
||||
|
|
Загрузка…
Ссылка в новой задаче