feat(tasks): add goals and task management app

This commit is contained in:
Codex committed 2026-09-27 12:47:39 +00:00
1 parent 352c3f737c
commit 1e7f8ed549
10 files changed
+124 -23

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
import { addonsJs, bootGuardJs, i18nJs, i18nRenderersJs, indexHtml, manifest, serviceWorker, icon } from "./assets.js";
import { addonsJs, bootGuardJs, i18nJs, tasksJs, i18nRenderersJs, indexHtml, manifest, serviceWorker, icon } from "./assets.js";
const BING_ARCHIVE = "https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US";
const STATE_FIELDS = ["profile", "memories", "museum", "settings", "system"];
@@ -67,6 +67,7 @@ export default {
if (url.pathname === "/life-os-icon.svg") return new Response(icon, { headers: headers("image/svg+xml", "public, max-age=86400") });
if (url.pathname === "/boot-guard.js") return new Response(bootGuardJs, { headers: headers("application/javascript; charset=utf-8", "no-cache") });
if (url.pathname === "/i18n.js") return new Response(i18nJs, { headers: headers("application/javascript; charset=utf-8", "no-cache") });
if (url.pathname === "/tasks.js") return new Response(tasksJs, { headers: headers("application/javascript; charset=utf-8", "no-cache") });
if (url.pathname === "/i18n-renderers.js") return new Response(i18nRenderersJs, { headers: headers("application/javascript; charset=utf-8", "no-cache") });
if (url.pathname === "/" || url.pathname === "/index.html") {
if (!id) return new Response(loginPage(), { headers: headers("text/html; charset=utf-8", "no-cache") });