Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
raon0211 committed Apr 9, 2024
1 parent 6c12aef commit eb5e098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}

0 comments on commit eb5e098

Please sign in to comment.