[object Object]

← back to Selfadhesivewallpaper

hero-4grid: relocate json from data/ to public/ for Express static

b3911553d15e97707e52e52b1c6384b06765f8b2 · 2026-05-14 08:54:14 -0700 · Steve

Files touched

Diff

commit b3911553d15e97707e52e52b1c6384b06765f8b2
Author: Steve <steve@designerwallcoverings.com>
Date:   Thu May 14 08:54:14 2026 -0700

    hero-4grid: relocate json from data/ to public/ for Express static
---
 public/hero-4grid.js             | 2 +-
 {data => public}/hero-4grid.json | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/hero-4grid.js b/public/hero-4grid.js
index 1bc244c..c495e6f 100644
--- a/public/hero-4grid.js
+++ b/public/hero-4grid.js
@@ -19,7 +19,7 @@
   window.__hero4GridLoaded = true;
 
   var CFG = window.Hero4GridConfig || {};
-  var URL = CFG.url || '/data/hero-4grid.json';
+  var URL = CFG.url || '/hero-4grid.json';
 
   function inject(cellEls, grid) {
     // Switch hero mode
diff --git a/data/hero-4grid.json b/public/hero-4grid.json
similarity index 100%
rename from data/hero-4grid.json
rename to public/hero-4grid.json

← 59c462d 4-grid hero: drop-in script + crop CSS + initial 4 newest pr  ·  back to Selfadhesivewallpaper  ·  wire sort param end-to-end + count niche total in /api/facet a7835f5 →