[object Object]

← back to Vinylwallpaper

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.

08c43e9f3ba628739cca51f32a5a7d7e0192f1b4 · 2026-06-19 16:33:23 -0700 · Steve

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

Files touched

Diff

commit 08c43e9f3ba628739cca51f32a5a7d7e0192f1b4
Author: Steve <steve@designerwallcoverings.com>
Date:   Fri Jun 19 16:33:23 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 b985fa0..2bed776 100644
--- a/server.js
+++ b/server.js
@@ -181,6 +181,7 @@ for (const [route, file] of Object.entries(CLEAN_PAGES)) {
 app.get(/^\/(history|care|trade|sourcing)\.html$/i, (req, res) => res.redirect(301, '/' + req.params[0].toLowerCase()));
 app.get('/index.html', (req, res) => res.redirect(301, '/'));
 
+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) => {

← 89e1f97 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut  ·  back to Vinylwallpaper  ·  corner-nav: move login to its own hamburger in upper-left (p 724c768 →