← back to Fabricwallpaper
hero-4grid: relocate json from data/ to public/ for Express static
ac4a8cb189d956076a9e4fdf9cf562481f34e5a7 · 2026-05-14 08:54:15 -0700 · Steve
Files touched
M public/hero-4grid.jsR100 data/hero-4grid.json public/hero-4grid.json
Diff
commit ac4a8cb189d956076a9e4fdf9cf562481f34e5a7
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
← a957be2 4-grid hero: drop-in script + crop CSS + initial 4 newest pr
·
back to Fabricwallpaper
·
fix: wire sort param through grid fetch, correct /api/facets e621f10 →