backend/app/routing/Middleware.js

20 lines
540 B
JavaScript
Raw Normal View History

2020-02-08 01:50:10 +00:00
/*
* 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 the middleware's Flitter canonical name.
*
* Route-specific middleware should be specified in the corresponding
* routes file.
*/
const Middleware = [
2020-02-08 03:08:24 +00:00
"auth:Utility",
"api:GuaranteeRootNode",
2020-02-08 01:50:10 +00:00
// 'MiddlewareName',
]
module.exports = exports = Middleware