a9830c42d8
- app/main.py serves the SPA build (SPA_DIST_DIR, default frontend/dist): mounts /assets and a GET catch-all returning index.html for client routes; catch-all 404s on /api/*, never swallows /docs, /openapi.json, /static, assets, ingestion/ticktick/status; skips SPA serving when dist absent (backend-only CI) - delete app/api/routes/pages.py, app/api/routes/auth.py, app/templates/ (all replaced by /api/* + SPA; auth service layer kept) - remove/replace Jinja page tests (JSON coverage already in test_api_*); add tests/test_spa_hosting.py for the fallback contract - regenerate openapi/ (Jinja paths gone) and frontend schema.d.ts
6 lines
236 B
Python
6 lines
236 B
Python
"""Jinja-based auth tests removed in M2-T11 (Jinja routes deleted).
|
|
|
|
Equivalent JSON-API coverage lives in test_api_session.py and test_api_config.py.
|
|
This file is intentionally left with no test functions so pytest does not error.
|
|
"""
|