Files
contracts-flask/site/routes/health_bp.py
T
naeel 15137f8e94
Deploy contracts-flask / validate (push) Successful in 0s
fix: all imports → relative (from .xxx) — no stdlib site conflict
2026-07-15 11:32:49 +04:00

11 lines
276 B
Python

"""Health probe — обязательно для Штурвала."""
from flask import Blueprint, jsonify
from .config import VERSION
health_bp = Blueprint("health", __name__)
@health_bp.route("/health")
def health():
return jsonify({"ok": True, "version": VERSION})