← back to Raffiawallcoverings
Mount new-arrivals promo strip (Tier B): require ../_shared/_universal-promo-banner before express.static — text-only rotating 'New · <product> →' banner from /api/products?sort=newest. Local only; deploy gated.
e3558d313d2e420b9a67229a488132b52e2c2001 · 2026-06-19 16:33:21 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit e3558d313d2e420b9a67229a488132b52e2c2001
Author: Steve <steve@designerwallcoverings.com>
Date: Fri Jun 19 16:33:21 2026 -0700
Mount new-arrivals promo strip (Tier B): require ../_shared/_universal-promo-banner before express.static — text-only rotating 'New · <product> →' banner from /api/products?sort=newest. Local only; deploy gated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---
server.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/server.js b/server.js
index 991e0c4..174ab49 100644
--- a/server.js
+++ b/server.js
@@ -199,6 +199,7 @@ app.get(/^\/(history|vocabulary|sourcing|care|trade|index)\.html$/, (req, res) =
res.redirect(301, slug === 'index' ? '/' : '/' + slug);
});
+require('../_shared/_universal-promo-banner')(app, {}); // new-arrivals promo strip (Tier B)
app.use(express.static(path.join(__dirname, 'public')));
app.get('/api/products', (req, res) => {
← 2fa00de fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to Raffiawallcoverings
·
corner-nav: move login to its own hamburger in upper-left (p 4e158ea →