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):