Skip to content

Commit

Permalink
Merge branch 'release-1.0.79'
Browse files Browse the repository at this point in the history
  • Loading branch information
entrotech committed Feb 10, 2024
2 parents 52d9187 + 71788a9 commit d1924f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "foodoasis-client",
"description": "React Client for Food Oasis",
"version": "1.0.78",
"version": "1.0.79",
"author": "Hack for LA",
"license": "GPL-2.0",
"private": true,
Expand Down
3 changes: 3 additions & 0 deletions server/app/services/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ const cn = process.env.DATABASE_URL
database: process.env.POSTGRES_DATABASE,
password: process.env.POSTGRES_PASSWORD,
port: Number(process.env.POSTGRES_PORT),
ssl: { rejectUnauthorized: false },
/* See Release Notes for node-postgfres v8 https://node-postgres.com/guides/upgrading */
};

interface IDatabaseScope {
Expand All @@ -52,6 +54,7 @@ export function getDB(): IDatabaseScope {
};
});
}

// Creating a new database instance from the connection details:
const { db } = getDB();

Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foodoasis-web-api",
"version": "1.0.78",
"version": "1.0.79",
"author": "Hack for LA",
"description": "Web API Server for Food Oasis",
"main": "server.js",
Expand Down

0 comments on commit d1924f9

Please sign in to comment.