Skip to content

Commit

Permalink
FLOW_DATABASE vars
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoYankee committed Oct 8, 2024
1 parent 7b5560b commit 45dd310
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pg/pg-connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const credentials = {
user: process.env.FLOW_DATABASE_USER,
password: process.env.FLOW_DATABASE_PASSWORD,
database: process.env.FLOW_DATABASE_NAME!,
ssl: process.env.DATABASE_ENV !== "development" && {
rejectUnauthorized: false,
},
ssl: process.env.FLOW_DATABASE_ENV !== "development" && {
rejectUnauthorized: false,
},
};

export const pgClient = new Client(credentials);
Expand Down

0 comments on commit 45dd310

Please sign in to comment.