[object Object]

← back to Designerrepresentatives

Add clean /privacy route/rewrite (AdSense)

fc130d9119a0df76701b503afaef31a1ebd1731a · 2026-09-10 11:56:24 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit fc130d9119a0df76701b503afaef31a1ebd1731a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Sep 10 11:56:24 2026 -0700

    Add clean /privacy route/rewrite (AdSense)
    
    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 c055a47..fe467f7 100644
--- a/server.js
+++ b/server.js
@@ -34,6 +34,7 @@ app.use(express.static(path.join(__dirname, 'public'), {
     if (p.endsWith('.html')) res.setHeader('Cache-Control', 'no-store, must-revalidate');
   },
 }));
+app.get('/privacy', (req, res) => res.sendFile(path.join(__dirname, 'public', 'privacy.html')));
 
 // Make GA + public URL available to every view
 app.use((req, res, next) => {

← 8ac8455 Add privacy policy page (/privacy.html) for AdSense  ·  back to Designerrepresentatives  ·  (newest)