diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000000000000000000000000000000000..4b134680de810f1ab9c83bed45b0c8b2b0489544 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,13 @@ +{ + "workbench.colorCustomizations": { + "activityBar.background": "#1f6fd0", + "activityBar.foreground": "#e7e7e7", + "activityBar.inactiveForeground": "#e7e7e799", + "activityBarBadge.background": "#ee90bb", + "activityBarBadge.foreground": "#15202b", + "statusBar.background": "#1857a4", + "statusBarItem.hoverBackground": "#1f6fd0", + "statusBar.foreground": "#e7e7e7", + "tab.activeBorder": "#1f6fd0" + } +} \ No newline at end of file diff --git a/src/health/health-check.service.ts b/src/health/health-check.service.ts index 22a25c29212c4204502b6d2feb95fa8d0b82ae03..8c278ada02ff9f62879ce59e384e8b470700ae94 100644 --- a/src/health/health-check.service.ts +++ b/src/health/health-check.service.ts @@ -22,7 +22,6 @@ export class HealthCheckService implements TerminusOptionsFactory { const healthEndpoint: TerminusEndpoint = { url: '/health', healthIndicators: [ - async () => this._dnsHealthIndicator.pingCheck('LegacyAuthService', `${config.legacyAuthServiceUrl}/get_services`), async () => this._dnsHealthIndicator.pingCheck('EmailService', `${config.serviceEmailUrl}/health`), async () => this._redisHealthIndicator.checkRedisConnection(config.redis), ], diff --git a/src/main.ts b/src/main.ts index aec5208ce412e26bcf46f3ad57a978eb2b33a9d0..8dd11fbcc6146306b9bef4297d9356f02c43cdbe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -10,7 +10,7 @@ import { AppLogger } from './app-logger'; async function bootstrap() { const app = await NestFactory.create(AppModule, { - logger: false, + logger: new AppLogger(), }); app.enableCors({ credentials: true, origin: true }); @@ -34,8 +34,6 @@ async function bootstrap() { app.useGlobalPipes(new ValidationPipe()); - app.useLogger(app.get(AppLogger)); - await app.listen(3000); } bootstrap();