Beginners nodejs, how to deal with routing with parameters to prevent access without parameters?

  node.js, question
router.get("/:page",function(req,res){
 
 });
 If this code accesses http://127.0.0.1: 3000/admin/list/1 like this
 
 In case the user directly http://127.0.0.1: 3000/admin/list takes no parameters
 Resulting in "failed to lookupview" error "in viewsdirectory" e: \ nodejs \ myproject \ views "not finding template
 
 Or http://127.0.0.1: 3000/admin/list/0 with 0 how to deal with it?
 
 How can it automatically jump to http://127.0.0.1: 3000/admin/list/1 for the above two behaviors

This route is recommended

/**
 * access: /admin/list
 * access: /admin/list?  page
 * access: /admin/list?  page=0
 * access: /admin/list?  page=a
 * access: /admin/list?  page="1"
 */
 router.get("/list",function(req,res){
 var page = req.query.page;
 page = isNaN(page) || page == 0 ?   1 : page;
 //Render Template
 });

In this way, the problems of /list, /list/0, /list/1 are solved at the same time.