refactor: clean up health check and task access logic by removing unused code

This commit is contained in:
Your Name
2026-03-21 09:10:18 +02:00
parent f347022924
commit e1585216e6
4 changed files with 4 additions and 39 deletions

View File

@@ -1,10 +1,13 @@
"""Health check endpoint."""
from flask import Blueprint, jsonify
from app.extensions import limiter
health_bp = Blueprint("health", __name__)
@health_bp.route("/health", methods=["GET"])
@limiter.exempt
def health_check():
"""Simple health check — returns 200 if the service is running."""
return jsonify({