supervisor
This commit is contained in:
8
main.py
8
main.py
@@ -750,4 +750,10 @@ async def health():
|
||||
except Exception:
|
||||
logger.exception("Health check failed")
|
||||
return JSONResponse({"ok": False}, status_code=500)
|
||||
return {"ok": True}
|
||||
return {"ok": True}
|
||||
|
||||
favicon_path = PATHS.BASE_DIR / 'static' / 'favicon.png'
|
||||
|
||||
@app.get('/favicon.ico', include_in_schema=False)
|
||||
async def favicon():
|
||||
return FileResponse(favicon_path)
|
||||
Reference in New Issue
Block a user