disable reject unauthorized
This commit is contained in:
parent
8d47c615b2
commit
7bde981f60
@ -17,14 +17,11 @@ export = process.env.NODE_ENV === 'development'
|
||||
: {
|
||||
type: 'postgres',
|
||||
url: process.env.DATABASE_URL,
|
||||
ssl: { rejectUnauthorized: true },
|
||||
ssl: { rejectUnauthorized: false },
|
||||
migrations: ['server/database/migrations/*.ts'],
|
||||
seeds: ['server/database/seeds.ts'],
|
||||
cli: {
|
||||
migrationsDir: 'server/database/migrations',
|
||||
},
|
||||
entities: ['server/entities/**/*.entity.ts'],
|
||||
extra: {
|
||||
ssl: true,
|
||||
},
|
||||
};
|
||||
|
@ -13,8 +13,5 @@ export const config: TypeOrmModuleOptions =
|
||||
: {
|
||||
type: 'postgres',
|
||||
url: process.env.DATABASE_URL,
|
||||
ssl: { rejectUnauthorized: true },
|
||||
extra: {
|
||||
ssl: true,
|
||||
},
|
||||
ssl: { rejectUnauthorized: false },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user