← back to Architecturalwallcoverings
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.
d3171d2e43ae2112a01253fcc3a00ee9cfa70fee · 2026-06-19 16:33:17 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit d3171d2e43ae2112a01253fcc3a00ee9cfa70fee
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 03aa751..a9a1a3f 100644
--- a/server.js
+++ b/server.js
@@ -221,6 +221,7 @@ for (const slug of CLEAN_URLS) {
for (const slug of CLEAN_URLS) {
app.get('/' + slug, (req, res) => res.sendFile(path.join(__dirname, 'public', slug + '.html')));
}
+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) => {
← 45d83ca fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to Architecturalwallcoverings
·
corner-nav: move login to its own hamburger in upper-left (p 3c4c62d →