chore(debug): auth
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user