fix: exclude /api/version from auth middleware
The update banner needs to reach /api/version without the jefflix-access cookie, otherwise it gets redirected to /gate. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b122d00be3
commit
b86e7e7a1a
|
|
@ -20,6 +20,6 @@ export const config = {
|
|||
* - /_next (Next.js internals)
|
||||
* - /favicon.ico, /icon*, /apple-icon*, /og-image* (static assets)
|
||||
*/
|
||||
"/((?!gate|api/verify-code|_next|favicon\\.ico|icon|apple-icon|og-image).*)",
|
||||
"/((?!gate|api/verify-code|api/version|_next|favicon\\.ico|icon|apple-icon|og-image).*)",
|
||||
],
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue