mirror of
https://github.com/ZTatman/myst.git
synced 2026-11-21 04:17:59 +00:00
Move page routes to routers/dashboard.py, the content-negotiated error handler to errors.py (register_error_handlers), and the dev css-mtime endpoint to routers/dev.py (included only when debug). main.py shrinks to lifespan + wiring + the / landing route. Dashboard repos now load lazily via an htmx fragment so a slow/unreachable Forgejo instance never blocks first paint; Forgejo html_url is sanitized against non-http(s) schemes before rendering into href. |
||
|---|---|---|
| .. | ||
| auth | ||
| models | ||
| routers | ||
| services | ||
| static | ||
| templates | ||
| __init__.py | ||
| config.py | ||
| database.py | ||
| deps.py | ||
| errors.py | ||
| main.py | ||
| middleware.py | ||
| templating.py | ||