← back to Fabricwallpaper
Add clean /privacy route (AdSense URL consistency)
be061c7cc2001544579fd0b4793407dd79959da3 · 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 be061c7cc2001544579fd0b4793407dd79959da3
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 d806e85..0d7e957 100644
--- a/server.js
+++ b/server.js
@@ -156,6 +156,7 @@ app.use(require('../_shared/api-vendor-redact'));
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 — serve extension-less nav links from public/*.html
const CLEAN_PAGES = ['privacy', 'history', 'care', 'sourcing', 'trade', 'vocabulary'];
← 797dac5 Standardize privacy policy to /privacy.html + footer link (A
·
back to Fabricwallpaper
·
front-page-steward: ux-primitives bundle (silent) TK-12031 11ae112 →