[object Object]

← back to Linenwallpaper

fix: /about → history.html alias (was 404)

7caf54efe3306128c5f6717f02466317ee8e9a3c · 2026-05-20 00:18:16 -0700 · Steve Abrams

Files touched

Diff

commit 7caf54efe3306128c5f6717f02466317ee8e9a3c
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed May 20 00:18:16 2026 -0700

    fix: /about → history.html alias (was 404)
---
 server.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/server.js b/server.js
index 44779ac..f2953c0 100644
--- a/server.js
+++ b/server.js
@@ -188,6 +188,9 @@ app.get('/sample/:handle', (req, res) => {
   res.redirect(302, p.product_url || `${DW_SHOPIFY}/products/${encodeURIComponent(p.handle)}#sample`);
 });
 
+// /about → served by the "short history" page (no dedicated about.html exists)
+app.get('/about', (req, res) => res.sendFile(path.join(__dirname, 'public', 'history.html')));
+
 // sitemap.xml + robots.txt for SEO
 app.get('/robots.txt', (req, res) => {
   res.type('text/plain').send(`User-agent: *

← ae2afdd make server.js self-contained — gate _shared/admin-catalog b  ·  back to Linenwallpaper  ·  add: pre-stage Meta Pixel snippet (placeholder; flip via _dw 11b7cad →