Update DMH Hospital Diabetic Dost

This commit is contained in:
Sanika Gurav
2026-10-15 17:37:14 +05:30
parent d92ef47309
commit e7a92cafd4
15 changed files with 188 additions and 84 deletions
+8 -2
View File
@@ -93,6 +93,12 @@ ADMIN_HTML_PATH = TEMPLATES_DIR / "admin.html"
@app.get("/favicon.ico", include_in_schema=False)
async def favicon_endpoint():
fav_candidate = STATIC_DIR / "dmh_logo.png"
if fav_candidate.exists():
return FileResponse(fav_candidate, media_type="image/png")
fav_candidate = STATIC_DIR / "favicon.png"
if fav_candidate.exists():
return FileResponse(fav_candidate, media_type="image/png")
fav_candidate = STATIC_DIR / "chellaram_hospital_logo.png"
if fav_candidate.exists():
return FileResponse(fav_candidate, media_type="image/png")
@@ -160,8 +166,8 @@ async def health_check():
gpu_name = "CPU Mode"
return {
"status": "online",
"app_name": "Chellaram Hospital — Diabetes Dost",
"hospital_name": "Chellaram Hospital",
"app_name": "Dinanath Mangeshkar Hospital — Diabetes Dost",
"hospital_name": "Dinanath Mangeshkar Hospital",
"motto": "Diabetes Care & Multispeciality",
"bot_name": "Diabetes Dost",
"language": "hi-IN",