from flask import render_template def init_app(app): """ Register core application routes directly on the Flask app: - GET / → home page - GET /health → health check """ @app.route('/') def home(): return render_template('core/home.html') @app.route('/health') def health(): return 'OK', 200