Skip to content

Commit 82475e7

Browse files
committed
fix: wording routes
1 parent 543f58e commit 82475e7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/routes/index.ts

+3-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ const router = express.Router()
99
/* Home Page. */
1010
router.get('/', function (req: Request, res: Response, next: NextFunction) {
1111
const buildResponse = BuildResponse.get({
12-
message: 'Express TS, Powered by Nusantech',
12+
message: 'Express Sequelize TS, Support by Nusantech',
13+
github:
14+
'https://github.com/masb0ymas/boilerplate-express-typescript-sequelize',
1315
})
1416
return res.json(buildResponse)
1517
})
@@ -22,9 +24,4 @@ router.get('/v1', function (req: Request, res: Response, next: NextFunction) {
2224
/* Declare Route */
2325
router.use('/v1', publicRoute)
2426

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

0 commit comments

Comments
 (0)