Fix: EL-Retry bei 429 (Free-Tier-Concurrency) + index.html no-cache (immer frisches Bundle)

5 parallele EL-Calls -> 1x 502 (Concurrency-Limit). elevenlabs_tts retryt jetzt 429/5xx mit Backoff.
index.html wird nicht mehr gecacht -> nach Deploy kein altes Bundle mehr.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hitonabi
2026-06-28 02:02:50 +02:00
parent 6d7a17e765
commit dd4c4c8c0f
2 changed files with 22 additions and 9 deletions
+2 -1
View File
@@ -86,6 +86,7 @@ if FRONTEND_DIST.exists():
index = FRONTEND_DIST / "index.html"
if index.exists():
return FileResponse(index)
# index.html nie cachen → Browser zieht nach jedem Deploy das aktuelle (gehashte) Bundle.
return FileResponse(index, headers={"Cache-Control": "no-cache, must-revalidate"})
return {"detail": "frontend not built"}