← back to Suedewallpaper
Add clean /privacy route (AdSense URL consistency)
e9e4c4033d5ddc26fa765986c31e963150329228 · 2026-09-10 11:51:27 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit e9e4c4033d5ddc26fa765986c31e963150329228
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 11:51:27 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 fc14ff4..568f707 100644
--- a/server.js
+++ b/server.js
@@ -227,6 +227,7 @@ app.get(/^\/(index|care|history|sourcing|trade|vocabulary)\.html$/i, (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 info pages (nav links use extension-less paths).
for (const name of INFO_PAGES) {
← 4495857 Standardize privacy policy to /privacy.html + footer link (A
·
back to Suedewallpaper
·
front-page-steward: ux-primitives bundle (silent) TK-12031 aadb2e8 →