From e6452c8ef0d8ce97139d973cb90a161a9377f907 Mon Sep 17 00:00:00 2001 From: Adrien-Ba Date: Mon, 18 Oct 2021 09:44:48 +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