- Created blueprints/api/routes_seo_audit.py with 3 routes: - /api/seo/audit (GET) - /api/seo/audit/<slug> (GET) - /api/seo/audit (POST - trigger) - Includes helper functions for building audit responses - Removed ~420 lines from app.py (6770 -> 6348) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
403 B
Python
16 lines
403 B
Python
"""
|
|
API Blueprint
|
|
==============
|
|
|
|
Public API routes for analytics tracking and other frontend interactions.
|
|
"""
|
|
|
|
from flask import Blueprint
|
|
|
|
bp = Blueprint('api', __name__, url_prefix='/api')
|
|
|
|
from . import routes_analytics # noqa: E402, F401
|
|
from . import routes_recommendations # noqa: E402, F401
|
|
from . import routes_contacts # noqa: E402, F401
|
|
from . import routes_seo_audit # noqa: E402, F401
|