Skip to content

Commit

Permalink
Modify index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketpatel12 committed Sep 2, 2021
1 parent 03be730 commit 44ac01f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ app.get('/status', (req, res)=>{
res.send('Okay')
})

app.get('/hello',(req, res)=>{
res.status(200)
res.send('Hi, there!')

})

app.listen(port, ()=>{
console.log(`Example app listening on http://localhost:${port}`);
})

0 comments on commit 44ac01f

Please sign in to comment.