Nuxt/test/fixtures/module/modules/middleware/log.js

6 lines
118 B
JavaScript
Raw Normal View History

2018-03-16 16:12:06 +00:00
export default function (req, res, next) {
// eslint-disable-next-line no-console
console.log(req.url)
next()
}