- Created blueprints/api/ with 6 routes: - /api/analytics/track - /api/analytics/heartbeat - /api/analytics/scroll - /api/analytics/error - /api/analytics/performance - /api/analytics/conversion - Added CSRF exemption for analytics routes - Removed ~230 lines from app.py (7729 -> 7506) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
245 B
Python
13 lines
245 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
|