You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
273 B
10 lines
273 B
from __future__ import annotations
|
|
|
|
from flask import Blueprint, jsonify
|
|
|
|
health_bp = Blueprint("health", __name__)
|
|
|
|
|
|
@health_bp.get("/health")
|
|
def healthcheck() -> tuple[dict[str, str], int]:
|
|
return {"project": "HappyWedding", "short_name": "hw", "status": "ok"}, 200
|
|
|