mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-12 01:36:20 +02:00
fix(server): add direct .ts proxy route for recordings and fix Cascade fall-through
This commit is contained in:
1 parent
2f7d709fe6
commit
a9a1127d6b
2 files changed
+29
-2
No files matched your search
@@ -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.)
|
||||
|
||||
Reference in new issue
Block a user