health.py 204 B

123456789
  1. from flask import Blueprint, jsonify
  2. bp = Blueprint("health", __name__)
  3. @bp.route("/health", methods=["GET"])
  4. def health():
  5. """Simple health check endpoint."""
  6. return jsonify({"status": "ok"})