← back to Architecturalwallcoverings
fix: /about → history.html alias (was 404)
817582990f62a00f3ad2a388953014ce9fa189d5 · 2026-05-20 00:18:15 -0700 · SteveStudio2
Files touched
Diff
commit 817582990f62a00f3ad2a388953014ce9fa189d5
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Wed May 20 00:18:15 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 08e1b0c..99f7209 100644
--- a/server.js
+++ b/server.js
@@ -202,6 +202,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: *
← 121e407 make server.js self-contained — gate _shared/admin-catalog b
·
back to Architecturalwallcoverings
·
add: pre-stage Meta Pixel snippet (placeholder; flip via _dw 5c3aeba →