chore(debug): auth

This commit is contained in:
Michael Zetterberg
2024-05-15 14:59:28 +02:00
parent a734ba848a
commit 2097807062
44 changed files with 460 additions and 42 deletions

View File

@@ -57,7 +57,7 @@ export const middleware = auth(async (request) => {
searchParams.set("uri", pathNameWithoutLang)
return NextResponse.rewrite(
new URL(`/${lang}/my-pages?${searchParams.toString()}`, nextUrl)
new URL(`/${lang}/my-pages2?${searchParams.toString()}`, nextUrl)
)
}
return NextResponse.next()