fix(auth): restore middleware, fix setup redirect loop, and add next.config rewrites proxying Supabase requests
All checks were successful
Staging Build / build (push) Successful in 3m27s
All checks were successful
Staging Build / build (push) Successful in 3m27s
This commit is contained in:
@@ -55,6 +55,7 @@ export async function updateSession(request: NextRequest) {
|
||||
request.nextUrl.pathname !== "/" &&
|
||||
request.nextUrl.pathname !== "/impressum" &&
|
||||
request.nextUrl.pathname !== "/datenschutz" &&
|
||||
request.nextUrl.pathname !== "/setup" &&
|
||||
!user &&
|
||||
!request.nextUrl.pathname.startsWith("/login") &&
|
||||
!request.nextUrl.pathname.startsWith("/auth")
|
||||
|
||||
Reference in New Issue
Block a user