adds missing config option for ssl
This commit is contained in:
parent
ac930bf0d7
commit
8d47c615b2
@ -24,4 +24,7 @@ export = process.env.NODE_ENV === 'development'
|
||||
migrationsDir: 'server/database/migrations',
|
||||
},
|
||||
entities: ['server/entities/**/*.entity.ts'],
|
||||
extra: {
|
||||
ssl: true,
|
||||
},
|
||||
};
|
||||
|
@ -14,4 +14,7 @@ export const config: TypeOrmModuleOptions =
|
||||
type: 'postgres',
|
||||
url: process.env.DATABASE_URL,
|
||||
ssl: { rejectUnauthorized: true },
|
||||
extra: {
|
||||
ssl: true,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user