← back to 1950swallpaper
Add clean /privacy route (AdSense URL consistency)
8c1dd22f32956294368e006f912443c23119ccda · 2026-09-10 11:51:19 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 8c1dd22f32956294368e006f912443c23119ccda
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 11:51:19 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 f7950f3..16271a5 100644
--- a/server.js
+++ b/server.js
@@ -220,6 +220,7 @@ for (const page of ['care', 'history', 'sourcing', 'trade']) {
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 to static content pages.
for (const page of ['care', 'history', 'sourcing', 'trade']) {
← 8698af1 Standardize privacy policy to /privacy.html + footer link (A
·
back to 1950swallpaper
·
front-page-steward: ux-primitives bundle (silent) TK-12031 036f659 →