← back to 1890swallpaper
fix: /about → history.html alias (was 404)
f1159c23aa434d44b73c4d691f94312d443b882c · 2026-05-20 00:18:14 -0700 · SteveStudio2
Files touched
Diff
commit f1159c23aa434d44b73c4d691f94312d443b882c
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Wed May 20 00:18:14 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 9a4dc6c..f7a4ea4 100644
--- a/server.js
+++ b/server.js
@@ -208,6 +208,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: *
← 78f5c3b make server.js self-contained — gate _shared/admin-catalog b
·
back to 1890swallpaper
·
add: pre-stage Meta Pixel snippet (placeholder; flip via _dw 80abd65 →