Skip to content

Commit

Permalink
fix(core): not found error for routes with query parameters.
Browse files Browse the repository at this point in the history
chore(core_logger): added response message and response code to logger.
  • Loading branch information
MR-MKZ committed Sep 16, 2024
1 parent 63057c6 commit 29c3708
Show file tree
Hide file tree
Showing 4 changed files with 791 additions and 674 deletions.
9 changes: 3 additions & 6 deletions examples/routes/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ router.get('/hello', async (req, res) => {

console.log(req.url);

return {
body: {
message: "hello"
},
responseCode: 200
}
return res.status(200).body({
url: req.url
})
})

export { router as v2Routes }
Loading

0 comments on commit 29c3708

Please sign in to comment.