Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

using multiple routes on same handler in express

app.get(
    ['/test', '/alternative', '/barcus*', '/farcus/:farcus/', '/hoop(|la|lapoo|lul)/poo'],
    function ( request, response ) {

    }
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #routes #handler #express
ADD COMMENT
Topic
Name
9+7 =