Files
rss-proxy/proxy/healthcheck.py
2025-03-03 19:42:32 +00:00

12 lines
315 B
Python
Executable File

from flask import Response
def init_healthcheck(app):
@app.route("/health")
def healthcheck():
"""Health check route to monitor service status"""
try:
return Response("Works normally", status=200)
except Exception as e:
return f"Error: {e}", 500