From e71b9f8477b7002635cd4c3ff3742f69654d89be Mon Sep 17 00:00:00 2001 From: anthony Date: Mon, 18 Oct 2021 09:29:50 +0200 Subject: [PATCH] add rejectUnauthorized --- 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 fdf9822..45de25e 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -19,8 +19,11 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; synchronize: true, logging: configService.isLoggingDb ? 'all' : false, extra: { - ssl: true, - }, + ssl: { + rejectUnauthorized: false + }, + + }, }), inject: [ConfigService], }),