Files
html-scraper/app/routes/health_routes.py

13 lines
298 B
Python

from flask import Blueprint, jsonify
import logging
logger = logging.getLogger(__name__)
health_bp = Blueprint('health', __name__, url_prefix='/api')
@health_bp.route('/health', methods=['GET'])
def health_check():
logger.info("Health check requested")
return jsonify({"status": "ok"})