Browse Source

add rejectUnauthorized

main
anthony 5 years ago
parent
commit
e71b9f8477
  1. 5
      src/app.module.ts

5
src/app.module.ts

@ -19,7 +19,10 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm';
synchronize: true, synchronize: true,
logging: configService.isLoggingDb ? 'all' : false, logging: configService.isLoggingDb ? 'all' : false,
extra: { extra: {
ssl: true,
ssl: {
rejectUnauthorized: false
},
}, },
}), }),
inject: [ConfigService], inject: [ConfigService],

Loading…
Cancel
Save