Skip to content
Snippets Groups Projects
Commit 6e5fab81 authored by Tim Fritzen's avatar Tim Fritzen
Browse files

fixed ssl to accept self signed certs

parent a96775e6
Branches
No related tags found
No related merge requests found
Pipeline #7971 passed
......@@ -32,7 +32,9 @@ export const sql = building ? null as unknown as Sql : await init(postgres({
password: env.POSTGRES_PASSWORD,
port: parseInt(env.POSTGRES_PORT || "5432"),
transform: postgres.camel,
ssl: true
ssl: {
rejectUnauthorized: false
}
}));
async function init(sql: Sql) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment