feat(calendar): unify life events by date
This commit is contained in:
1 parent
1e7f8ed549
commit
f5e689d68b
11 files changed
+101
-20
No files matched your search
+2
-1
@@ -1,4 +1,4 @@
|
||||
import { addonsJs, bootGuardJs, i18nJs, tasksJs, i18nRenderersJs, indexHtml, manifest, serviceWorker, icon } from "./assets.js";
|
||||
import { addonsJs, bootGuardJs, i18nJs, tasksJs, calendarJs, 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"];
|
||||
@@ -68,6 +68,7 @@ export default {
|
||||
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 === "/calendar.js") return new Response(calendarJs, { 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") });
|
||||
|
||||
Reference in new issue
Block a user