diff --git a/src/middleware.ts b/src/middleware.ts deleted file mode 100644 index 448e1dc..0000000 --- a/src/middleware.ts +++ /dev/null @@ -1,18 +0,0 @@ -// @ts-expect-error next-intl middleware type incompatibility -import createMiddleware from 'next-intl/middleware'; -import { locales } from './i18n'; - -export default createMiddleware({ - locales, - defaultLocale: 'en', - localePrefix: 'as-needed', -}); - -export const config = { - matcher: [ - '/', - '/(es|en)/:path*', - // Enable a redirect to a matching locale at the root - // '/((?!_next|_vercel|.*\..*).*)', - ], -};