Browse Source

add rejectUnauthorized

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

7
src/app.module.ts

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

Loading…
Cancel
Save