← back to Pastelwallpaper
Add clean /privacy route (AdSense URL consistency)
72a10e0646ca1202c6c73fd5d9779187758726aa · 2026-09-10 11:51:26 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 72a10e0646ca1202c6c73fd5d9779187758726aa
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 11:51:26 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 fa0b8d1..ff57d0c 100644
--- a/server.js
+++ b/server.js
@@ -219,6 +219,7 @@ app.get(/^\/index\.html$/i, (req, res) => res.redirect(301, '/'));
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 extension-less nav links.
const PAGE_FILES = ['care', 'history', 'sourcing', 'trade'];
← 9c9e4c6 Standardize privacy policy to /privacy.html + footer link (A
·
back to Pastelwallpaper
·
front-page-steward: ux-primitives bundle (silent) TK-12031 004477e →