fix: let the Lite build pass with the offline and version endpoints it never calls #523

This commit is contained in:
Linus Rath
2026-11-01 13:13:18 +01:00
parent 1769de5b93
commit 2f8cbaa92e
+4
View File
@@ -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",