Server Middlewares (Tempo de execução)
import { ServerMiddleware } from '@nuxt/types'
const myServerMiddleware: ServerMiddleware = function (req, res, next) {
// Use req, res, next
}
export default myServerMiddleware
import { ServerMiddleware } from '@nuxt/types'
const myServerMiddleware: ServerMiddleware = function (req, res, next) {
// Use req, res, next
}
export default myServerMiddleware