feat: initialize HTML scraper API with Flask and SeleniumBase
This commit is contained in:
12
app/routes/health_routes.py
Normal file
12
app/routes/health_routes.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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"})
|
||||
Reference in New Issue
Block a user