Closed george-norris-salesforce closed 5 years ago
handleExpiredTokens.unless({ path: [{ url: '/foo', methods: ['POST'] }] });
function handleExpiredTokens(err, req, res, next) { // stuff } handleExpiredTokens.unless = unless; module.exports = handleExpiredTokens;
handleExpiredTokens runs on every request including POST /foo
/foo
handleExpiredTokens runs on every request including POST
/foo