From c53ee33c8088df86ea07e149969735c1e6218b3c Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Wed, 9 Sep 2026 16:52:56 -0400 Subject: [PATCH] push: the diary's badge is a 192px cookie, not a 2048px one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The notification icon pointed at the full 2048×2048 cookie — 1.6 MB fetched by every device to draw a badge a couple hundred pixels wide. cookie-192.png is the same crumb at 32 KB, on the CDN beside the original. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01AGbWC1RD3FzZTgbW7S4zDx --- session-server/chat-manager.mjs | 2 +- system/netlify/functions/sotce-net.mjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/session-server/chat-manager.mjs b/session-server/chat-manager.mjs index a97457183c..c05bb88c3f 100644 --- a/session-server/chat-manager.mjs +++ b/session-server/chat-manager.mjs @@ -42,7 +42,7 @@ export const chatInstances = { // "mood" topic that aesthetic.computer devices subscribe to. topic: "chat-sotce", // And its own face in the notification, not the aesthetic.computer mark. - icon: "https://assets.aesthetic.computer/sotce-net/cookie.png", + icon: "https://assets.aesthetic.computer/sotce-net/cookie-192.png", }, "chat-clock.aesthetic.computer": { name: "chat-clock", diff --git a/system/netlify/functions/sotce-net.mjs b/system/netlify/functions/sotce-net.mjs index c2f38efb45..ff1bcc3f57 100644 --- a/system/netlify/functions/sotce-net.mjs +++ b/system/netlify/functions/sotce-net.mjs @@ -142,7 +142,7 @@ self.addEventListener("push", (event) => { event.waitUntil( self.registration.showNotification(note.title || "Sotce Net", { body: note.body || "", - icon: note.icon || "https://assets.aesthetic.computer/sotce-net/cookie.png", + icon: note.icon || "https://assets.aesthetic.computer/sotce-net/cookie-192.png", image: note.image, data: note.data || {}, }) @@ -11240,7 +11240,7 @@ export const handler = async (event, context) => { { title: "Sotce Net", body: "A new page has been written.", - icon: "https://assets.aesthetic.computer/sotce-net/cookie.png", + icon: "https://assets.aesthetic.computer/sotce-net/cookie-192.png", data: { piece: "" }, ttl: 3600, }, -- 2.51.2