chore: use jsdelivr CDN for all download URLs
This commit is contained in:
@@ -21,7 +21,7 @@ Real-time monitoring dashboard for [OpenClaw](https://github.com/openclaw/opencl
|
||||
### 1. Deploy Server (Docker)
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/xmg0828888/oc-monitor/main/install.sh | bash
|
||||
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor@main/install.sh | bash
|
||||
```
|
||||
|
||||
This will:
|
||||
@@ -35,7 +35,7 @@ This will:
|
||||
After server is running, install the agent on each OpenClaw node:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/xmg0828888/oc-monitor/main/install-agent.sh | bash -s -- \
|
||||
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor@main/install-agent.sh | bash -s -- \
|
||||
-s http://YOUR_SERVER_IP:3800 \
|
||||
-t YOUR_AUTH_TOKEN \
|
||||
-n "Node Name"
|
||||
|
||||
@@ -29,7 +29,7 @@ done
|
||||
|
||||
# Download agent
|
||||
echo "📦 Downloading agent..."
|
||||
curl -fsSL https://raw.githubusercontent.com/xmg0828888/oc-monitor/main/agent/agent.sh -o "$AGENT"
|
||||
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor@main/agent/agent.sh -o "$AGENT"
|
||||
chmod +x "$AGENT"
|
||||
|
||||
# Detect init system
|
||||
|
||||
@@ -46,4 +46,4 @@ echo "🌐 Dashboard: http://$IP:$PORT"
|
||||
echo "🔑 Auth Token: $TOKEN"
|
||||
echo ""
|
||||
echo "📡 Install agent on each node:"
|
||||
echo " curl -fsSL https://raw.githubusercontent.com/xmg0828888/oc-monitor/main/install-agent.sh | bash -s -- -s http://$IP:$PORT -t $TOKEN -n \"NodeName\""
|
||||
echo " curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor@main/install-agent.sh | bash -s -- -s http://$IP:$PORT -t $TOKEN -n \"NodeName\""
|
||||
|
||||
Reference in New Issue
Block a user