Skip to content

Commit

Permalink
Actually pass port to Sequelize
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Jan 27, 2025
1 parent 11b50bb commit 992af64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions API/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const sequelize = new Sequelize(
process.env.DB_PASS,
{
host: process.env.DB_HOST,
port: process.env.DB_PORT || "5432",
dialect: "postgres",
logging: process.env.VERBOSE_LOGGING == "true" || false,
pool: {
Expand Down

0 comments on commit 992af64

Please sign in to comment.