[object Object]

← back to Slack Idea Board

5x sweep 1: favicon/apple-touch → 204 (kill the 404 console error M3 caught)

67e25ed9f3766f2d928fd61611249e7f0b46491e · 2026-07-13 14:44:53 -0700 · Steve Abrams

Files touched

Diff

commit 67e25ed9f3766f2d928fd61611249e7f0b46491e
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jul 13 14:44:53 2026 -0700

    5x sweep 1: favicon/apple-touch → 204 (kill the 404 console error M3 caught)
---
 server.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server.js b/server.js
index 8227f64..90bfcb7 100644
--- a/server.js
+++ b/server.js
@@ -131,6 +131,7 @@ async function drain() {
 
 const server = http.createServer(async (req, res) => {
   try {
+    if (req.url === '/favicon.ico' || req.url === '/apple-touch-icon.png') { res.writeHead(204); return res.end(); } // no icon → 204 (not a 404 console error)
     if (req.url.startsWith('/api/ideas')) {
       const ideas = await collectIdeas();
       enrichNew(ideas); // fire-and-forget; cached items return immediately

← c2393df idea-board: parallel enrichment (4 concurrent) + continuous  ·  back to Slack Idea Board  ·  5x: report — 2 clean sweeps, favicon-404 fixed (67e25ed) e4dabd8 →