← back to Ai Workforce
silence favicon 404 (data-URI icon + /favicon.ico 204) — /3x now 4/4 clean
f891d5f49d31963dca31a11ff8bff182859dbee5 · 2026-07-13 15:33:38 -0700 · Steve
Files touched
M public/index.htmlM server.js
Diff
commit f891d5f49d31963dca31a11ff8bff182859dbee5
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Jul 13 15:33:38 2026 -0700
silence favicon 404 (data-URI icon + /favicon.ico 204) — /3x now 4/4 clean
---
public/index.html | 1 +
server.js | 2 ++
2 files changed, 3 insertions(+)
diff --git a/public/index.html b/public/index.html
index ebb0e41..4d43b9d 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AI Workforce</title>
+<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='13' fill='%230b0e14' stroke='%2337d67a' stroke-width='2'/><circle cx='16' cy='16' r='4' fill='%2337d67a'/></svg>">
<link rel="stylesheet" href="/styles.css">
</head>
<body>
diff --git a/server.js b/server.js
index 333b784..b77a767 100644
--- a/server.js
+++ b/server.js
@@ -25,6 +25,8 @@ const server = http.createServer(async (req, res) => {
}
const url = req.url.split('?')[0];
+ if (url === '/favicon.ico') { res.writeHead(204); return res.end(); }
+
if (url === '/api/snapshot') {
try {
const snap = await snapshot();
← ad7b400 ai-workforce v0.1 — live fleet-as-workforce dashboard (pm2+l
·
back to Ai Workforce
·
(newest)