From 681b6a544278b16669622ae1f5b0270072929bd7 Mon Sep 17 00:00:00 2001 From: Alexandre SOARES <72209227+AS-37@users.noreply.github.com> Date: Mon, 18 Oct 2021 09:54:19 +0200 Subject: [PATCH] Update app.module.ts --- src/app.module.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index ec33692..35d4026 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -18,6 +18,11 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; entities: [__dirname + '/**/*.entity{.ts,.js}'], synchronize: true, logging: configService.isLoggingDb ? 'all' : false, + extra: { + ssl: { + rejectUnauthorized: false + }, + }, }), inject: [ConfigService], }), @@ -25,4 +30,4 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; controllers: [AppController], providers: [AppService], }) -export class AppModule {} +export class AppModule {} \ No newline at end of file