diff --git a/nextjs/src/middleware.ts b/nextjs/src/middleware.ts index b30f8a1574..6ccdb42b8d 100644 --- a/nextjs/src/middleware.ts +++ b/nextjs/src/middleware.ts @@ -10,7 +10,7 @@ export function middleware(request) { const locale = request.nextUrl.searchParams.get('locale'); if (locale === 'ja') { return NextResponse.redirect( - new URL(`/${locale}/${pathname}`, request.url), + new URL(`/ja/${pathname}`, request.url), ); }