import createMiddleware from 'next-intl/middleware'
import { routing } from './i18n/routing'

export default createMiddleware(routing)

export const config = {
  // Aplica a todo salvo /api, estáticos de Next e ipas con extensión.
  matcher: ['/((?!api|_next|_vercel|.*\\..*).*)'],
}
