ppt-tool/frontend/app
Vadym Samoilenko 1f5a0c27da Fix SSE proxy: create Next.js route handlers for all streaming endpoints
Next.js rewrites() buffer HTTP responses and drop long-lived connections,
making SSE (text/event-stream) impossible. The backend never even received
the request (no log entry in API, ECONNRESET in web proxy logs).

Create dedicated route.ts files for all 3 SSE endpoints:
- /api/v1/ppt/outlines/stream/[id]
- /api/v1/ppt/presentation/stream/[id]
- /api/v1/ppt/jobs/[job_id]/stream

Each route forwards cookies for auth and returns backend's ReadableStream
directly as a Response, preventing any buffering. Sets X-Accel-Buffering: no
to also disable nginx buffering.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 20:43:58 +00:00
..
(presentation-generator) Fix 5 post-Phase8 bugs: SSE crash, custom templates, ordering, persistence, JSON display 2026-03-01 20:25:28 +00:00
admin Phase 8: Data-driven slide architecture + template management overhaul 2026-03-01 20:05:25 +00:00
api Fix SSE proxy: create Next.js route handlers for all streaming endpoints 2026-03-01 20:43:58 +00:00
fonts Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
hooks Fix 5 post-Phase8 bugs: SSE crash, custom templates, ordering, persistence, JSON display 2026-03-01 20:25:28 +00:00
login Phase 7: Apply design system to all admin pages + fix test stubs 2026-03-01 19:01:52 +00:00
presentation-templates Wire Oliver DeckForge UI: AuthGuard, routing, logo, remove Presenton branding 2026-02-26 18:34:55 +00:00
schema Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
apple-icon.png Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
ConfigurationInitializer.tsx Wire Oliver DeckForge UI: AuthGuard, routing, logo, remove Presenton branding 2026-02-26 18:34:55 +00:00
favicon.ico Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
globals.css Implement critical security fixes and modern design system (Pre-launch P0 tasks) 2026-02-27 18:28:24 +00:00
icon1.svg Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
icon2.png Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
layout.tsx Rebrand Presenton to Oliver DeckForge, pre-configure models, use NanoBanana Pro 2026-02-26 18:17:11 +00:00
loading.tsx Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
not-found.tsx Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
page.tsx Wire Oliver DeckForge UI: AuthGuard, routing, logo, remove Presenton branding 2026-02-26 18:34:55 +00:00
providers.tsx Wire Oliver DeckForge UI: AuthGuard, routing, logo, remove Presenton branding 2026-02-26 18:34:55 +00:00