- loadState: logs DATA_DIR path, writability check, lists files, shows radio_favorites count on load - saveState: read-back verification after atomic write, fallback to direct write if rename fails - /api/health: shows state diagnostics (file exists, file size, keys, favorites count in memory vs disk, lastSaveOk) - Helps diagnose why favorites are not persisting across deploys Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||