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