← back to Restorationwallpaper
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.
3d1f317a5e0e191012b2b0f35cd8fabce5715c42 · 2026-06-19 16:33:21 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit 3d1f317a5e0e191012b2b0f35cd8fabce5715c42
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 98aa486..c1f289f 100644
--- a/server.js
+++ b/server.js
@@ -155,6 +155,7 @@ app.use((req, res, next) => {
if (/\.bak(\.|[-]|$)|\.pre-/i.test(req.path)) return res.status(404).send('Not found');
next();
});
+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 — map to existing public/*.html.
← 3085170 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to Restorationwallpaper
·
corner-nav: move login to its own hamburger in upper-left (p bc53d58 →