WebApp Connect Handler to support optional params

trying to get this to work with something like

  connectRoute(function(router) {
    router.get('/a/:param1?/:param2?/:param3?/:param4?', function(req, res, next) {

So I could pass it something like <domain>/a/1/2 but I get not found

Flow Router support this ok but this seems like it’s not supported by connect-route - npm which seems acient.

Any help/recommendations appreciated?

seems like I can jus use WebApp.connectHandlers.use('/a', async (req, res, next) => {