Freshness diagnostics API, UI trust notes, mission control/stats updates, and deploy scripts.
Made-with: Cursor
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# API Errors Fix
|
||||
|
||||
> Historical note: this file documents legacy static-SPA fixes and deploy
|
||||
> patterns. The canonical live frontend deployment is now
|
||||
> `./scripts/deploy-next-frontend-to-vmid5000.sh`. Treat manual `index.html`
|
||||
> copy steps here as compatibility history, not the primary operator path.
|
||||
|
||||
## Issues Fixed
|
||||
|
||||
### 1. `createSkeletonLoader is not defined` Error
|
||||
@@ -54,12 +59,12 @@ bash explorer-monorepo/scripts/deploy-frontend-fix.sh
|
||||
#### Option 1: Using Deployment Script (from Proxmox host)
|
||||
```bash
|
||||
cd /home/intlc/projects/proxmox/explorer-monorepo
|
||||
bash scripts/deploy-frontend-to-vmid5000.sh
|
||||
bash scripts/deploy-next-frontend-to-vmid5000.sh
|
||||
```
|
||||
|
||||
#### Option 2: Manual Deployment (from VMID 5000)
|
||||
```bash
|
||||
# On VMID 5000, copy the file:
|
||||
# Historical static-SPA compatibility only:
|
||||
cp /path/to/explorer-monorepo/frontend/public/index.html /var/www/html/index.html
|
||||
chown www-data:www-data /var/www/html/index.html
|
||||
|
||||
@@ -69,6 +74,7 @@ nginx -t && systemctl restart nginx
|
||||
|
||||
#### Option 3: Using SCP (from local machine)
|
||||
```bash
|
||||
# Historical static-SPA compatibility only:
|
||||
scp explorer-monorepo/frontend/public/index.html root@192.168.11.140:/var/www/html/index.html
|
||||
ssh root@192.168.11.140 "chown www-data:www-data /var/www/html/index.html && nginx -t && systemctl restart nginx"
|
||||
```
|
||||
@@ -113,4 +119,3 @@ Test the following scenarios:
|
||||
- For ChainID 138, all API calls now use Blockscout REST API format
|
||||
- Error handling includes retry buttons for better UX
|
||||
- Skeleton loaders provide visual feedback during data loading
|
||||
|
||||
|
||||
Reference in New Issue
Block a user