Offline page

/offline is a static page (under 2 KB, no script) saying the forge is unreachable and when it was last seen. It wears the forge's own tokens (--bg, --fg, --muted-fg, light and dark by the OS setting) inlined under a hash-admitted CSP, and retries itself every 5 s with a <meta http-equiv="refresh">, which is not script.

The service worker (src/web/sw.ts) fetches it at install and serves it only for a navigation that fails with nothing kept; the API, /events and assets are never answered by it. "Last seen" is the time of the worker's last install, since that is when the copy was made: after a long idle it can be days old. Only this page and / are cached, so a signed-in page is never served stale from here.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs