[object Object]

← back to 1950swallpaper

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.

4b7eb444db33bc234f0c259ba59856fba57fa729 · 2026-06-19 16:33:16 -0700 · Steve

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Files touched

Diff

commit 4b7eb444db33bc234f0c259ba59856fba57fa729
Author: Steve <steve@designerwallcoverings.com>
Date:   Fri Jun 19 16:33:16 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 006a808..73c1106 100644
--- a/server.js
+++ b/server.js
@@ -218,6 +218,7 @@ for (const page of ['care', 'history', 'sourcing', 'trade']) {
   app.get('/' + page + '.html', (req, res) => res.redirect(301, '/' + page));
 }
 
+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 to static content pages.

← 0a79b06 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut  ·  back to 1950swallpaper  ·  corner-nav: move login to its own hamburger in upper-left (p 265cbdc →