← back to Glitterwalls
Add clean /privacy route (AdSense URL consistency)
b31a5b3c5337844a21469603093eba10b94fb5f7 · 2026-09-10 11:51:21 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit b31a5b3c5337844a21469603093eba10b94fb5f7
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 11:51:21 2026 -0700
Add clean /privacy route (AdSense URL consistency)
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 46450cf..03b4643 100644
--- a/server.js
+++ b/server.js
@@ -225,6 +225,7 @@ require("./_universal-contact")(app, cfg.contact);
require("./_universal-auth")(app, cfg.auth);
require('../_shared/_universal-promo-banner')(app, {}); // new-arrivals promo strip (Tier B)
app.use(express.static(path.join(__dirname, 'public')));
+app.get('/privacy', (req, res) => res.sendFile(path.join(__dirname, 'public', 'privacy.html')));
// Clean-URL routes for editorial pages so their declared canonicals resolve.
for (const slug of ['care', 'history', 'sourcing', 'trade']) {
← b7a50ae Standardize privacy policy to /privacy.html + footer link (A
·
back to Glitterwalls
·
front-page-steward: ux-primitives bundle (silent) TK-12031 9099c05 →