Nuxt/test/fixtures/module/modules/middleware/midd1.js
2017-07-07 02:57:27 +04:30

5 lines
90 B
JavaScript

module.exports = function (req, res, next) {
res.setHeader('x-midd-1', 'ok')
next()
}