[object Object]

← back to Commercialdesignreps

Add clean /privacy route (AdSense URL consistency)

c48859ef1b417c93558c1cda594f22d474b83305 · 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 c48859ef1b417c93558c1cda594f22d474b83305
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 8ce40be..f05e41f 100644
--- a/server.js
+++ b/server.js
@@ -35,6 +35,7 @@ app.use((req, res, next) => {
 });
 
 app.use(express.static(path.join(__dirname, 'public'), { maxAge: '1h' }));
+app.get('/privacy', (req, res) => res.sendFile(path.join(__dirname, 'public', 'privacy.html')));
 
 const allTerritories = Array.from(new Set(reps.flatMap(r => r.territories))).sort();
 const allLines = Array.from(new Set(reps.flatMap(r => r.lines))).sort();

← 053a171 Add privacy policy page (/privacy.html) for AdSense  ·  back to Commercialdesignreps  ·  (newest)