From d82c0a2f8aa2f4c0f6fb49dfdf531d865ac09de5 Mon Sep 17 00:00:00 2001 From: anthony Date: Mon, 18 Oct 2021 09:22:41 +0200 Subject: [PATCH] add typeorm ssl --- src/app.module.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.module.ts b/src/app.module.ts index ec33692..fdf9822 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -18,6 +18,9 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; entities: [__dirname + '/**/*.entity{.ts,.js}'], synchronize: true, logging: configService.isLoggingDb ? 'all' : false, + extra: { + ssl: true, + }, }), inject: [ConfigService], }),