devbug/app/routing/Middleware.js
2019-06-21 17:01:34 -05:00

18 lines
535 B
JavaScript

/*
* Global Middleware Definitions
* -------------------------------------------------------------
* These middleware are applied, in order, before every request that
* Flitter handles, regardless of request type. Each middleware class
* can be referenced using Flitter's global mw() function, but you can
* also require() the class directly.
*
* Route-specific middleware should be specified in the corresponding
* routes file.
*/
const Middleware = [
// mw('MiddlewareName'),
]
module.exports = exports = Middleware