← back to Hospitalitywallpaper
Add clean /privacy route (AdSense URL consistency)
71becbb83e4259a8b2b296b1f20332c5a4dd1601 · 2026-09-10 11:51:23 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 71becbb83e4259a8b2b296b1f20332c5a4dd1601
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 11:51:23 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 11f3b3f..6207835 100644
--- a/server.js
+++ b/server.js
@@ -213,6 +213,7 @@ app.get(/^\/(care|history|sourcing|trade|vocabulary|index)\.html$/, (req, res) =
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 the static pages in public/ — lets nav links drop .html.
for (const name of ['care', 'history', 'sourcing', 'trade', 'vocabulary']) {
← a0a0efd Standardize privacy policy to /privacy.html + footer link (A
·
back to Hospitalitywallpaper
·
front-page-steward: ux-primitives bundle (silent) TK-12031 34a2581 →