2020-11-01 18:50:03 +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-11-05 02:31:52 +00:00
|
|
|
"auth:Utility",
|
2020-11-01 18:50:03 +00:00
|
|
|
|
|
|
|
// Injects the RequestLocalizationHelper
|
|
|
|
"i18n:Localize",
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
module.exports = exports = Middleware
|