From 90402846416d00d7adbff4090725aba185c5062c Mon Sep 17 00:00:00 2001 From: HenriBoulnois Date: Sat, 15 Jan 2022 11:47:51 +0100 Subject: [PATCH] Update app module --- src/app.module.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index ccdcbc1..35d4026 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -4,7 +4,6 @@ import { AppService } from './app.service'; import { ConfigModule } from './config/config.module'; import { ConfigService } from './config/config.service'; import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; -import { TodosModule } from './todos/todos.module'; @Module({ imports: [ @@ -19,10 +18,14 @@ import { TodosModule } from './todos/todos.module'; entities: [__dirname + '/**/*.entity{.ts,.js}'], synchronize: true, logging: configService.isLoggingDb ? 'all' : false, + extra: { + ssl: { + rejectUnauthorized: false + }, + }, }), inject: [ConfigService], }), - TodosModule, ], controllers: [AppController], providers: [AppService],