From 05bc4490359071e2685a4258706568fc5e9ca761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 1 Jun 2026 18:26:41 +0300 Subject: [PATCH] fix: health endpoint /healthz (k8s convention) --- site/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/app.py b/site/app.py index 707edee..841c21e 100644 --- a/site/app.py +++ b/site/app.py @@ -8,12 +8,12 @@ class SayApp: def add_routes(self): self.app.add_url_rule("/", "index", self.index) - self.app.add_url_rule("/health", "health", self.health) + self.app.add_url_rule("/healthz", "healthz", self.health) def index(self): return render_template("index.html") - def health(self): + def healthz(self): return jsonify({"status": "ok"}) def run(self):