Fix SSE CORS headers for credentialed streaming endpoints

This commit is contained in:
ي
2026-05-28 09:19:26 +05:30
parent aaf94049da
commit 390ac3488a

View File

@@ -124,10 +124,6 @@ async def stream_enhanced_strategies(
headers={
"Cache-Control": "no-cache",
"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={
"Cache-Control": "no-cache",
"Connection": "keep-alive",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "*",
"Access-Control-Allow-Methods": "GET, POST, OPTIONS",
"Access-Control-Allow-Credentials": "true"
}
)