From d81a4968ef344d49e0dd9151c3f42603e15be0c7 Mon Sep 17 00:00:00 2001 From: Anatole-DC Date: Mon, 18 Oct 2021 09:32:05 +0200 Subject: [PATCH] fix: try to fix ssl certificate --- src/app.module.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.module.ts b/src/app.module.ts index ec33692..aea8a66 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], }),