You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
535 B
18 lines
535 B
5 years ago
|
/*
|
||
|
* 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
|