Browse Source

Update app.module.ts

main
Alexandre SOARES 5 years ago
parent
commit
681b6a5442
  1. 5
      src/app.module.ts

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

Loading…
Cancel
Save