← back to Restorationwallpaper
Add clean /privacy route (AdSense URL consistency)
c14f14066c7842a68778dfeae2c3e59ddb1c9e3e · 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 c14f14066c7842a68778dfeae2c3e59ddb1c9e3e
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 1ebfbfa..4602481 100644
--- a/server.js
+++ b/server.js
@@ -157,6 +157,7 @@ app.use((req, res, next) => {
});
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 — map to existing public/*.html.
const CLEAN_PAGES = {
← f34b769 Standardize privacy policy to /privacy.html + footer link (A
·
back to Restorationwallpaper
·
front-page-steward: ux-primitives bundle (silent) TK-12031 55e0cba →