fix: rename middleware.ts to proxy.ts
The middleware file convention is deprecated in this Next.js version in favor of proxy.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import createMiddleware from 'next-intl/middleware'
|
||||
import { routing } from './i18n/routing'
|
||||
|
||||
export default createMiddleware(routing)
|
||||
|
||||
export const config = {
|
||||
matcher: [
|
||||
'/((?!api|_next|_vercel|.*\\..*).*)',
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user