From eb5e098219c4357976a049c0c5cc61a727d01340 Mon Sep 17 00:00:00 2001 From: raon0211 Date: Tue, 9 Apr 2024 23:13:02 +0900 Subject: [PATCH] chore: test --- docs/src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/middleware.ts b/docs/src/middleware.ts index d5e7d072..83056051 100644 --- a/docs/src/middleware.ts +++ b/docs/src/middleware.ts @@ -99,6 +99,6 @@ export function middleware(request: NextRequest) { nextUrl.defaultLocale ) ) - return NextResponse.rewrite(new URL('/index.en', request.url)) + return NextResponse.redirect(new URL(url, request.url)) } } \ No newline at end of file