Nuxt/test/fixtures/module/modules/middleware/log.js
2018-03-16 19:42:06 +03:30

6 lines
118 B
JavaScript

export default function (req, res, next) {
// eslint-disable-next-line no-console
console.log(req.url)
next()
}