Revert "chore(debug): auth"

This reverts commit 2097807062.
This commit is contained in:
Michael Zetterberg
2024-05-16 08:19:17 +02:00
parent 2097807062
commit 3153f158a9
44 changed files with 42 additions and 460 deletions

View File

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