[dyad] Fixed 404 error by updating i18n middleware matcher - wrote 1 file(s)
This commit is contained in:
@@ -6,5 +6,8 @@ export default createMiddleware({
|
||||
});
|
||||
|
||||
export const config = {
|
||||
matcher: ['/', '/(de|en)/:path*']
|
||||
// Match all pathnames except for
|
||||
// - … if they start with `/api`, `/_next` or `/_vercel`
|
||||
// - … the ones containing a dot (e.g. `favicon.ico`)
|
||||
matcher: ['/((?!api|_next|_vercel|.*\\..*).*)']
|
||||
};
|
||||
Reference in New Issue
Block a user