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