3 Commits

Author SHA1 Message Date
ilia
58f6088f66 fix(pwa,deploy): faster SW takeover, verify SITE_ROOT vs nginx
- Workbox: skipWaiting, clientsClaim, cleanupOutdatedCaches
- NetworkFirst for navigations so HTML shell updates after deploy
- deploy-site: cmp index.html vs SITE_ROOT; print nginx root hints; SW tips

Made-with: Cursor
2026-03-24 23:37:25 -04:00
ilia
20cabdd038 fix(deploy): publish without rsync (rm + cp fallback)
Made-with: Cursor
2026-03-24 23:31:44 -04:00
ilia
b523b67587 chore(deploy): server script to reset main, npm ci, build, rsync dist
- Hard reset to origin/main so local package edits cannot block pulls
- Optional rsync to SITE_ROOT (default /var/www/iliadobkin.com) if dir exists
- engines.node >=20.19, .nvmrc 22 for Vite 7

Made-with: Cursor
2026-03-24 23:27:54 -04:00