Skip to content

Commit e31a31c

Browse files
committed
fix: proxy to handle auth
1 parent 38a9b19 commit e31a31c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

proxy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ export async function proxy(
7878
}
7979

8080
export const config = {
81-
// Matcher ignoring `/_next/`, `/api/` and `/assets/`
82-
matcher: ['/((?!api|assets|_next/static|_next/image|favicon.ico|public).*)'],
81+
// Matcher ignoring `/_next/`, `/api/`, `/auth/` and `/assets/`
82+
matcher: ['/((?!api|auth|assets|_next/static|_next/image|favicon.ico|public).*)'],
8383
};

0 commit comments

Comments
 (0)