|
|
|
@ -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 {} |