We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 474dfd7 commit bb6df43Copy full SHA for bb6df43
packages/twenty-server/src/engine/twenty-orm/factories/workspace-datasource.factory.ts
@@ -38,6 +38,11 @@ export class WorkspaceDatasourceFactory {
38
logging: 'all',
39
schema: dataSourceMetadata.schema,
40
entities,
41
+ ssl: this.environmentService.get('PG_SSL_ALLOW_SELF_SIGNED')
42
+ ? {
43
+ rejectUnauthorized: false,
44
+ }
45
+ : undefined,
46
});
47
48
await workspaceDataSource.initialize();
0 commit comments