Skip to content

Commit

Permalink
Nice fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barhouum7 committed Oct 5, 2020
1 parent 18de052 commit 092d11c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ app.use('/authors', authorRouter) /* Telling our Server 1-[ to pass our very Roo


app.listen(process.env.PORT || 3000, (error) => {
if (error)
console.log('\nERROR! Something Went Wrong.\n')
else
error ?
console.log('\nERROR! Something Went Wrong.\n') :
console.log('\nServer is listening on PORT: 3000\n')
}) /* Telling to our App that we want to Listening on Certain PORT */

0 comments on commit 092d11c

Please sign in to comment.