[object Object]

← back to Textilewallpaper

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

3a28807a4a36206c57feaf81c7c043d3cab5da13 · 2026-05-14 08:54:15 -0700 · Steve

Files touched

Diff

commit 3a28807a4a36206c57feaf81c7c043d3cab5da13
Author: Steve <steve@designerwallcoverings.com>
Date:   Thu May 14 08:54:15 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

← 0201333 4-grid hero: drop-in script + crop CSS + initial 4 newest pr  ·  back to Textilewallpaper  ·  fix sort select wiring, /api/facets niche count, add /about 974c3da →