Spaces:
Running
Running
Commit History
15 days ago
-
refresh script fixes: STABLE_STYLE=app.css (build thực tế), strip query string khi verify index.html refs
17a669e -
refresh script: git-lfs guard cho og-image.png (pre-receive hook rejects raw binaries)
a2a3b1c -
SEO + social-share thumbnail: ảnh ghép 12 ảnh mới nhất tự động
- README YAML thumbnail: dist/share/og-image.png → hub og:image = ảnh ghép - .gitattributes: og-image.png qua LFS (HF pre-receive hook yêu cầu) - scripts/gen-thumbnail.py: fetch 8 nội thất mới nhất + 4 SP mới nhất, compose grid 4x3 1200x675 PNG vào public/ + dist/share/ - refresh-catalogue.mjs: chạy gen-thumbnail trước build, commit public/share+dist/share - index.html root: đầy đủ og:title/description/url/image + twitter card + canonical + robots + keywords (SEO cho link chia sẻ lẫn Google)c913ae2
23 days ago
-
Upload scripts/refresh-catalogue.mjs
Verified signature5a68e72 -
Upload scripts/refresh-catalogue.mjs
Verified signature280908b -
Upload scripts/refresh-catalogue.mjs
Verified signaturefb17130 -
Upload scripts/refresh-catalogue.mjs
Verified signature21d5365 -
Upload scripts/refresh-catalogue.mjs
Verified signature3460919 -
Upload scripts/refresh-catalogue.mjs
Verified signature6c22abf -
Upload scripts/refresh-catalogue.mjs
Verified signaturec573dc7 -
Upload scripts/refresh-catalogue.mjs
Verified signature5b9f2f1 -
fix: restore refresh-catalogue.mjs, truncated by a partial upload
Verified signatureThe previous commit replaced this file with only its middle section: the shebang, imports, main(), clone/install/sync steps and the mirror validation were all dropped, leaving `ok('built')` at top level and a ReferenceError on the first line. This restores the complete script with the intended changes — asset-reference verification moved ahead of the commit, and a guard that fails loudly if the build deletes the committed dist/ data.744798f -
fix: verify the served page before pushing, not after
Verified signatureThe asset-reference check ran after `git push`. index.html is not a Vite build input, so a stale reference is exactly the state that blanks the Space — and it was being published first, then reported. Move the check ahead of the commit so a bad build aborts with the last good bundle still serving. Also assert dist/prodimgs, products-gallery.json and products-index.json survive the build. src/ reads nothing from them, so their disappearance would not break the app or raise any error; this turns a silent 87 MB data loss into a loud failure.3279632 -
Upload scripts/refresh-catalogue.mjs
Verified signatureb19467c -
Add scheduled catalogue refresh script: clone, sync, build, commit, verify index.html refs
Verified signature720759a