mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-04 19:21:51 +00:00
23b8b6a655
Add a same-origin Next.js route handler that reverse-proxies the Django SSE stream, so the browser EventSource connects same-origin (no CORS) and the access token stays server-side. Drop the unused per-message stream URL and stop revalidating /lighthouse on session create (the force-dynamic route would otherwise remount the chat and tear down the EventSource).