← back to 1980swallpaper
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.
68e35003d5e6d393ff4c72b5630fc50a5b8fbb27 · 2026-06-19 16:33:17 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit 68e35003d5e6d393ff4c72b5630fc50a5b8fbb27
Author: Steve <steve@designerwallcoverings.com>
Date: Fri Jun 19 16:33:17 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 8dad29f..092de8a 100644
--- a/server.js
+++ b/server.js
@@ -207,6 +207,7 @@ app.get(/^\/(.+)\.html$/i, (req, res) => {
return res.redirect(301, '/' + req.params[0] + search);
});
// Clean URLs: serve /care -> care.html etc.
+require('../_shared/_universal-promo-banner')(app, {}); // new-arrivals promo strip (Tier B)
app.use(express.static(path.join(__dirname, 'public'), { extensions: ['html'] }));
app.get('/api/products', (req, res) => {
← f13803c fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to 1980swallpaper
·
corner-nav: move login to its own hamburger in upper-left (p bb719fd →