From 2f8cbaa92ed151c78bf2b6de24c6cf35a722f832 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 1 Nov 2026 13:13:18 +0100 Subject: [PATCH] fix: let the Lite build pass with the offline and version endpoints it never calls #523 --- scripts/lite/lib.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/lite/lib.mjs b/scripts/lite/lib.mjs index 2ac051fcd..559c09eca 100644 --- a/scripts/lite/lib.mjs +++ b/scripts/lite/lib.mjs @@ -135,6 +135,10 @@ export const LITE_API_STRING_ALLOWLIST = [ "/api/push/active", "/api/push/verify", "/api/push/jmap", + // Offline mode (#523) - OfflineHost isn't mounted in Lite, and the update + // check (lib/app-update.ts) asks lite-build.json there instead. + "/api/offline/shell", + "/api/version", // Dev-only JMAP mock. "/api/jmap", "/api/dev-jmap",