fix(server): add direct .ts proxy route for recordings and fix Cascade fall-through

This commit is contained in:
Michael committed 2026-03-11 07:31:42 +01:00
1 parent 2f7d709fe6
commit a9a1127d6b
2 files changed
+29 -2

No files matched your search

+2 -2
View File
@@ -81,8 +81,8 @@ class ProxyHandler {
// Only handle /api/xtream/* requests
// CRITICAL: Check path BEFORE anything else so non-proxy requests fall through to static handler
if (!path.startsWith('api/xtream/')) {
// Return 404 so Cascade tries next handler (staticHandler)
return Response.notFound('Not an xtream proxy request');
// Return 404 so Cascade tries next handler (streamingRouter)
return Response.notFound(null);
}
// NOTE: Authentication REMOVED from proxy to allow browser-initiated requests (img src, etc.)