fixed some some mongdb stuff, and added hide objects
This commit is contained in:
parent
8edd78a341
commit
a0e1593af9
6 changed files with 37 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Framework imports
|
||||
import { initializeConfig } from '@stock-bot/config';
|
||||
import { initializeServiceConfig } from '@stock-bot/config';
|
||||
import { Hono } from 'hono';
|
||||
import { cors } from 'hono/cors';
|
||||
// Library imports
|
||||
|
|
@ -12,7 +12,7 @@ import { ProxyManager } from '@stock-bot/utils';
|
|||
// Local imports
|
||||
import { exchangeRoutes, healthRoutes, queueRoutes } from './routes';
|
||||
|
||||
const config = initializeConfig();
|
||||
const config = initializeServiceConfig();
|
||||
console.log('Data Service Configuration:', JSON.stringify(config, null, 2));
|
||||
const serviceConfig = config.service;
|
||||
const databaseConfig = config.database;
|
||||
|
|
@ -24,6 +24,7 @@ if (config.log) {
|
|||
logConsole: true,
|
||||
logFile: false,
|
||||
environment: config.environment,
|
||||
hideObject: config.log.hideObject,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue