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], }),