chore: update frontend dependencies and fix deprecated method use (#140)

This commit is contained in:
kimatata
2025-02-24 08:45:47 +09:00
committed by GitHub
parent 6ed6865a01
commit 050b2aa0ec
28 changed files with 3878 additions and 2761 deletions

View File

@@ -1,11 +1,7 @@
import createMiddleware from 'next-intl/middleware';
import { locales, localePrefix } from './navigation';
import { routing } from './i18n/routing';
export default createMiddleware({
defaultLocale: 'en',
localePrefix,
locales,
});
export default createMiddleware(routing);
export const config = {
matcher: ['/', '/(ja|en)/:path*'],