mirror of
https://github.com/strapi/strapi.git
synced 2025-09-28 18:01:26 +00:00
15 lines
255 B
JavaScript
15 lines
255 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* `test-middleware` middleware
|
|
*/
|
|
|
|
module.exports = (config, { strapi }) => {
|
|
// Add your own logic here.
|
|
return async (ctx, next) => {
|
|
strapi.log.info('In application test-middleware middleware.');
|
|
|
|
await next();
|
|
};
|
|
};
|