routes.static
Static/basic route handlers for the webapp HTTP API.
Functions
|
Serve the single-page web UI shell. |
|
Serve one UTF-8 static text asset (for example CSS/JS). |
|
Serve one binary static asset (for example WOFF2 fonts). |
|
Return a lightweight liveness response. |
|
Reply to browser favicon probes without noisy 404 logs. |
Module Contents
- routes.static.get_root(handler, html_template)
Serve the single-page web UI shell.
- routes.static.get_text_asset(handler, *, content, content_type)
Serve one UTF-8 static text asset (for example CSS/JS).
- routes.static.get_binary_asset(handler, *, payload, content_type)
Serve one binary static asset (for example WOFF2 fonts).
- routes.static.get_health(handler)
Return a lightweight liveness response.
- routes.static.get_favicon(handler)
Reply to browser favicon probes without noisy 404 logs.