← back to Agedwallpaper
hero-4grid: relocate json from data/ to public/ for Express static
65a8728da83e1bc476c2b70125fbe9ef88e618dd · 2026-05-14 08:54:24 -0700 · Steve
Files touched
M public/hero-4grid.jsR100 data/hero-4grid.json public/hero-4grid.json
Diff
commit 65a8728da83e1bc476c2b70125fbe9ef88e618dd
Author: Steve <steve@designerwallcoverings.com>
Date: Thu May 14 08:54:24 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
← 92a3b84 4-grid hero: drop-in script + crop CSS + initial 4 newest pr
·
back to Agedwallpaper
·
Wire sort select to API: send sort param + hydrate saved val de7b563 →