Skip to content

Commit ce9c66d

Browse files
authored
hotfix: enable SSL in postgres connection
1 parent e5fc3a9 commit ce9c66d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/db.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export async function getDB() {
1414
synchronize: true,
1515
logging: false,
1616
entities: [RepUser, RepGive, HelpUser],
17+
ssl: true,
1718
});
1819
console.log('Connected to DB');
1920
return db;

0 commit comments

Comments
 (0)