using multiple routes on same handler in express

Solutions on MaxInterview for using multiple routes on same handler in express by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "using multiple routes on same handler in express"
Carl
06 Oct 2016
1app.get(
2    ['/test', '/alternative', '/barcus*', '/farcus/:farcus/', '/hoop(|la|lapoo|lul)/poo'],
3    function ( request, response ) {
4
5    }
6);
7