Skip to content

Commit 070f6ed

Browse files
authored
fix: force SSL connection with database (#306)
1 parent 2e0bbc5 commit 070f6ed

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/lib/integration/databaseConnector.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ const createDatabaseConnector = (): Promise<
3636
logMessage.debug("[database-connector] Creating new database connector");
3737

3838
return getConnectionString().then((connectionString) =>
39-
pgp()(connectionString),
39+
pgp()({
40+
connectionString,
41+
ssl: true,
42+
}),
4043
);
4144
};
4245

0 commit comments

Comments
 (0)