← back to 1900swallpaper
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.
7f56882fa5e8c6bbaa03e1c1ca87d4c001ecd8a4 · 2026-06-19 16:33:16 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit 7f56882fa5e8c6bbaa03e1c1ca87d4c001ecd8a4
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 dda68dd..7b26382 100644
--- a/server.js
+++ b/server.js
@@ -164,6 +164,7 @@ app.get(/^\/(.+)\.html$/i, (req, res, next) => {
return res.redirect(301, '/' + base + (req.url.includes('?') ? req.url.slice(req.url.indexOf('?')) : ''));
});
+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) => {
← 4bd25d5 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to 1900swallpaper
·
corner-nav: move login to its own hamburger in upper-left (p 2e5c325 →