mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
`/api/version` now returns an additional `offlineGeoEnabled: boolean` field that mirrors `offlineGeoReady()` — the same source the runtime resolver checks before deciding whether to fall back to ipwho.is. A monitor (or the admin status surface in the next commit) can read the flag without crawling logs. The route flips from `force-static` to `force-dynamic` because the readiness check hits the filesystem on each request; the previous static caching would have frozen the answer at build time. Two new test cases cover the true / false branches alongside the existing shape assertions.