Files
contracts-flask/site/routes/health_bp.py
T
2026-07-15 11:37:57 +04:00

11 lines
275 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})