← back to 1970swallpaper
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.
50f774b731f88e364d73284c44a7e822ff71d3a3 · 2026-06-19 16:33:17 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit 50f774b731f88e364d73284c44a7e822ff71d3a3
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 06d2352..287b136 100644
--- a/server.js
+++ b/server.js
@@ -206,6 +206,7 @@ for (const slug of ['care', 'history', 'sourcing', 'trade']) {
app.get('/' + slug + '.html', (req, res) => res.redirect(301, '/' + slug));
}
+require('../_shared/_universal-promo-banner')(app, {}); // new-arrivals promo strip (Tier B)
app.use(express.static(path.join(__dirname, 'public')));
// Clean-URL routes for extension-less nav links → existing static pages.
← e975913 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to 1970swallpaper
·
chore: macstudio3 migration — reconcile from mac2 + repoint aa0e377 →