nl_tokens: adds function to bypass certain condition of request
pl_tokens: function bypass ( req , conditions = { <mask> : 1 , api : 1 } ) { if ( conditions . files ) { // bypass all files request let regexp = / \w+\.\w+$ / i ; if ( req . path . match ( regexp ) ) { return true ; } } if ( conditions . api ) { // bypass api request let regexp = / ^\/api\/ / i ; if ( req . path . match ( regexp ) ) { return true ; } } }