INNER CODE UNIT · Python

health

Li-Evan/Bloom · backend/app/main.py:30

def health():
    return {"status": "ok"}


# Serve frontend static files if they exist (must be last — catch-all mount)
frontend_dist = os.path.join(os.path.dirname(__file__), "../../frontend/dist")
if os.path.exists(frontend_dist):
    app.mount("/", StaticFiles(directory=frontend_dist, html=True), name="frontend")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…