Skip to content
Snippets Groups Projects
  1. Aug 31, 2016
  2. Aug 25, 2016
    • Vytor Calixto's avatar
      Add dimensions middleware · 73273083
      Vytor Calixto authored
      EXAMPLE USAGE:
      
      * Use it with no parameters to get all the dimensions in the query: `app.get('/', dimensions(), function(req, res, next){})`
      * Use it with an array of accepted values: `app.get('/', dimensions(['year', 'location']), function(req, res, next){})`
      * Use it globally: `app.use(dimensions())`
      73273083
Loading