allow self signed certificates
This commit is contained in:
parent
42a1bf9555
commit
9327514e83
@ -110,7 +110,7 @@ export const imports = [
|
||||
synchronize: false,
|
||||
type: configService.get<string>('DATABASE_DRIVER', 'sqlite') as any,
|
||||
url: configService.get<string>('DATABASE_URL', 'sqlite://data.sqlite'),
|
||||
ssl: configService.get<string>('DATABASE_SSL', 'false') === 'true',
|
||||
ssl: configService.get<string>('DATABASE_SSL', 'false') === 'true' ? { rejectUnauthorized: false } : false,
|
||||
entityPrefix: configService.get<string>('DATABASE_TABLE_PREFIX', ''),
|
||||
logging: configService.get<string>('DATABASE_LOGGING', 'false') === 'true',
|
||||
entities,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user