diff --git a/src/middleware.ts b/src/middleware.ts index 4d6e841..e4b60f3 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -9,7 +9,10 @@ export function middleware(request: NextRequest) { if (pathname == "/") { if (playerIdCookie) { return NextResponse.redirect( - new URL(`/player/${playerIdCookie.value}`, request.url), + new URL( + `/player/${playerIdCookie.value}/scoresaber/top/1`, + request.url, + ), ); } else { return NextResponse.redirect(new URL("/search", request.url));