Skip to content

Commit afef9a6

Browse files
committed
fix: default catch error endpoint
1 parent 2334b69 commit afef9a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ router.get('/v1', function (req: Request, res: Response, next: NextFunction) {
2323
router.use('/v1', publicRoute)
2424

2525
/* Not Found Page. */
26-
router.get('*', function (req: Request, res: Response, next: NextFunction) {
27-
throw new ResponseError.NotFound('endpoint not found')
28-
})
26+
// router.get('*', function (req: Request, res: Response, next: NextFunction) {
27+
// throw new ResponseError.NotFound('endpoint not found')
28+
// })
2929

3030
export default router

0 commit comments

Comments
 (0)