accounts/dashboard/public
Haitao Pan 086ab779a4 fix: add local fallback data for static development mode
### Changes:

1. **Added fallback data files**:
   - `public/_build/artifacts-manifest.json` - Local fallback for downloads page
   - `public/_build/offline-package.json` - Local fallback for offline-package

2. **Updated data fetching logic**:
   - `dl-index-data-artifacts.ts` - Now uses local fallback when network fetch fails
   - `dl-index-data-offline-package.ts` - Now uses local fallback when network fetch fails

### Problem:
In static development mode (`yarn start -p 3000`), the dashboard's docs and downloads pages
could not fetch data from external URLs, resulting in empty content.

### Solution:
Added local fallback data files that are imported directly into the components.
When network requests fail (e.g., in offline mode or behind firewall), the app now
falls back to local static data, ensuring pages work in development mode.

### Data Flow:
1. Try fetching from `https://dl.svc.plus/dl-index/*.json`
2. If that fails, try fallback URL
3. If that also fails, use local `public/_build/*.json` data
4. Display content to user

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 21:52:13 +08:00
..
_build fix: add local fallback data for static development mode 2025-11-11 21:52:13 +08:00
dl-index feat: integrate offline-package data source 2025-11-11 17:50:41 +08:00
icons Move dashboard frontend out of ui namespace (#538) 2025-10-17 12:36:27 +08:00
favicon.ico Move dashboard frontend out of ui namespace (#538) 2025-10-17 12:36:27 +08:00