Skip to content

Commit

Permalink
Made database work for Health-Check
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoff-kiefer committed Oct 6, 2023
1 parent c43b8fd commit 5dc1050
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/frontend/frontend.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ import { HealthModule } from '../health/health.module.js';
dbName: dbConfig.DB_NAME,
entities: ['./dist/**/*.entity.js'],
entitiesTs: ['./src/**/*.entity.ts'],
// Needed for HealthCheck
type: 'postgresql',
driverOptions: {
connection: {
ssl: true,
},
},
});
},
inject: [ConfigService],
Expand Down

0 comments on commit 5dc1050

Please sign in to comment.