Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ruigomes99 committed Jun 24, 2024
1 parent 6d1b879 commit dcb4c4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HTTP_PORT=3000
HTTP_PORT=3001
MONGO_DB_URL=MONGO_DB_URL
BCRYPT_SALT=10
JWT_SESSION_PASS=password
5 changes: 3 additions & 2 deletions http/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ const app = express()

// Start the server
app.listen(port, function (err) {
if (!err)
if (!err) {
logger.info(`HTTP server hosted on port ${port}`)
else
} else {
logger.error(err)
}
})

// Export the app
Expand Down

0 comments on commit dcb4c4b

Please sign in to comment.