Files
2025-09-25 08:44:44 +08:00

10 lines
240 B
Python

from flask import Blueprint, jsonify
api_bp = Blueprint('api', __name__, url_prefix='/api')
@api_bp.route('/health', methods=['GET'])
def health_check():
"""簡易 API 健康檢查端點。"""
return jsonify({'status': 'ok'})