Files
Mateusz Gruszczyński c5cc2efbac first commit
2026-03-23 15:56:18 +01:00

18 lines
369 B
Python

from __future__ import annotations
from flask import Blueprint, jsonify
from app.core_settings import get_settings
health_blueprint = Blueprint("health", __name__)
@health_blueprint.get("/health")
def health():
settings = get_settings()
return jsonify({
"status": "ok",
"app": settings.app_name,
"version": settings.version,
})