fix: cache headers and frontend pro tier resolution
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m34s
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m34s
This commit is contained in:
@@ -225,7 +225,11 @@ async def get_available_providers():
|
||||
"model": model,
|
||||
})
|
||||
|
||||
return {"providers": available}
|
||||
return JSONResponse(
|
||||
status_code=200,
|
||||
headers={"Cache-Control": "no-cache, no-store, must-revalidate"},
|
||||
content={"providers": available}
|
||||
)
|
||||
|
||||
|
||||
@router.get("/languages")
|
||||
|
||||
Reference in New Issue
Block a user