Given the following route:
router.get('/api/members/confirm/:id, function (req, res, next)
how do I specify the route to be excluded? I have tried:
app.use('/api', expressJwt({ secret: config.secret}).unless({path: ['/api/members/confirm']}));
and
app.use('/api', expressJwt({ secret: config.secret}).unless({path: ['/api/members/confirm/:id']}));
but neither path in the unless array seem to work?