Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aditisneh committed Jul 8, 2021
1 parent 0d6ddb6 commit fdd05c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ app.get('/',(req,res)=>{
res.send('Server is running')
})

server.listen(5000, () => console.log("server is running on port 5000"))
const PORT = 5000 || process.env.PORT;

server.listen(PORT, () => console.log("server is running on port 5000"))

0 comments on commit fdd05c1

Please sign in to comment.