Compare commits

...

1 Commits

Author SHA1 Message Date
ي
390ac3488a Fix SSE CORS headers for credentialed streaming endpoints 2026-05-28 09:19:26 +05:30

View File

@@ -124,10 +124,6 @@ async def stream_enhanced_strategies(
headers={ headers={
"Cache-Control": "no-cache", "Cache-Control": "no-cache",
"Connection": "keep-alive", "Connection": "keep-alive",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "*",
"Access-Control-Allow-Methods": "GET, POST, OPTIONS",
"Access-Control-Allow-Credentials": "true"
} }
) )
@@ -261,10 +257,6 @@ async def stream_strategic_intelligence(
headers={ headers={
"Cache-Control": "no-cache", "Cache-Control": "no-cache",
"Connection": "keep-alive", "Connection": "keep-alive",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "*",
"Access-Control-Allow-Methods": "GET, POST, OPTIONS",
"Access-Control-Allow-Credentials": "true"
} }
) )