Files
classifieds/app/blueprints/main/routes.py
T
2026-06-15 11:23:05 -04:00

15 lines
298 B
Python

"""Main blueprint: landing page and health check."""
from flask import Blueprint, render_template, jsonify
main_bp = Blueprint("main", __name__)
@main_bp.route("/")
def index():
return render_template("index.html")
@main_bp.route("/healthz")
def healthz():
return jsonify(status="ok")