fix: add temporary /api/debug/session to diagnose auth cookies

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-10-05 16:36:51 +02:00
parent 1f9bc38af0
commit c82cc32278
2 changed files with 58 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ export async function middleware(req: NextRequest) {
const isPublic =
path === '/login' ||
path === '/api/health' ||
path === '/api/debug/session' ||
path.startsWith('/api/webhooks/') ||
path.startsWith('/api/cron/') ||
path === '/_4v_attr.js' ||