← back to Ffepurchasing
Add /privacy clean route (site 301s .html to clean URLs)
3bf6daa20fbcbcae01df2aa9251d07d4e4c6aa67 · 2026-09-10 11:34:17 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 3bf6daa20fbcbcae01df2aa9251d07d4e4c6aa67
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 11:34:17 2026 -0700
Add /privacy clean route (site 301s .html to clean URLs)
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 58b1334..05cf027 100644
--- a/server.js
+++ b/server.js
@@ -162,6 +162,7 @@ app.get(/^\/(.+)\.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')));
// Shared filter — applied identically by /api/products and /api/facets so facet
// counts reflect the ACTUAL filtered result set (drill-down), not the whole niche
← 1e064d4 Standardize privacy policy to /privacy.html + footer link (A
·
back to Ffepurchasing
·
(newest)