static
tit.server.static ¶
Serve the UI bundle at / (SPA fallback) or a minimal status page.
The bundle directory is checked on every request so a bundle built after
the server started is picked up without a restart. Non-/api,
non-/ws, non-/auth paths fall back to index.html; the bundle
directory is a jail (resolved paths must stay inside it). The status page
is unauthenticated, so it discloses nothing about the runtime.
resolve_static_file ¶
File under static_dir for path, or None (missing / escapes the jail).