From 5c00fc5637f9910e71807e52eed5fd28f24a52b9 Mon Sep 17 00:00:00 2001 From: Henri Boulnois Date: Wed, 3 Nov 2021 15:48:47 +0100 Subject: [PATCH] :alien: update app module --- src/app.module.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index 869e83c..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,12 +18,16 @@ 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], }) -export class AppModule {} +export class AppModule {} \ No newline at end of file