[object Object]

← back to Bubbesblock

Add real privacy page + /privacy route (was catch-all serving homepage) — AdSense

0f22c5c9528b51435c1c80b8167544e10eb36605 · 2026-09-10 12:18:46 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 0f22c5c9528b51435c1c80b8167544e10eb36605
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Sep 10 12:18:46 2026 -0700

    Add real privacy page + /privacy route (was catch-all serving homepage) — AdSense
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 server.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server.js b/server.js
index b25e463..a2502fa 100644
--- a/server.js
+++ b/server.js
@@ -43,6 +43,7 @@ app.get(PRIVATE_PAGES.flatMap(r => ['/' + r, '/' + r + '.html']), (req, res) =>
 });
 
 app.use(express.static(path.join(__dirname, 'public')));
+app.get('/privacy', (_req, res) => res.sendFile(path.join(__dirname, 'public', 'privacy.html')));
 app.get('/healthz', (_req, res) => res.json({ ok: true, service: 'bubbesblock', db: !!pool }));
 
 // ---------- helpers ----------

← f17e95d TK-11341: strip AdSense loader from private /inbox route (se  ·  back to Bubbesblock  ·  TK-11341: commit missing public/privacy.html (server.js rout 8159840 →