Skip to content

Commit a4c9050

Browse files
authored
hotfix: rejectUnauthorized with SSL
1 parent ce9c66d commit a4c9050

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/db.ts

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ export async function getDB() {
1515
logging: false,
1616
entities: [RepUser, RepGive, HelpUser],
1717
ssl: true,
18+
extra: {
19+
ssl: {
20+
rejectUnauthorized: false,
21+
},
22+
},
1823
});
1924
console.log('Connected to DB');
2025
return db;

0 commit comments

Comments
 (0)