Skip to content

Commit

Permalink
Removed the Need to Specify the SQL Port
Browse files Browse the repository at this point in the history
  • Loading branch information
beanbeanjuice committed Nov 16, 2024
1 parent 4d6d37a commit 2fbe3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/middleware/check-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const TOKEN = process.env.JWT_TOKEN;
function getMySQLData() {
return {
"url": process.env.MYSQL_URL,
"port": process.env.MYSQL_PORT,
"port": process.env.MYSQL_PORT || 3306,
"user": process.env.MYSQL_USER,
"password": process.env.MYSQL_PASSWORD
}
Expand Down

0 comments on commit 2fbe3c1

Please sign in to comment.