← back to Stars of Design
sodhz
0160b3c185e9394a017b9732e96ad6e9a0bf443d · 2026-05-13 03:26:02 -0700 · Steve Abrams
Files touched
Diff
commit 0160b3c185e9394a017b9732e96ad6e9a0bf443d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed May 13 03:26:02 2026 -0700
sodhz
---
routes/public.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/routes/public.js b/routes/public.js
index 7ea964c..b1850ba 100644
--- a/routes/public.js
+++ b/routes/public.js
@@ -32,6 +32,9 @@ router.get('/favicon.ico', (req, res) => {
res.sendFile(require('path').join(__dirname, '..', 'public', 'favicon.svg'));
});
+// k8s-style cheap liveness probe — no db check, mirrors asim.
+router.get('/healthz', (req, res) => res.json({ ok: true, ts: Date.now() }));
+
router.get('/', (req, res, next) => {
try {
const all = data.load();
← 4682bab sod-comments-cache
·
back to Stars of Design
·
starsofdesign: smoke +4 security-header checks (X-Content-Ty c9d3997 →