fix: remove @main from jsdelivr URLs

This commit is contained in:
mango
2026-02-22 20:56:12 +08:00
parent 4f489e6183
commit 43c66eccba
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ Real-time monitoring dashboard for [OpenClaw](https://github.com/openclaw/opencl
### 1. Deploy Server (Docker)
```bash
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor@main/install.sh | bash
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor/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://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor@main/install-agent.sh | bash -s -- \
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor/install-agent.sh | bash -s -- \
-s http://YOUR_SERVER_IP:3800 \
-t YOUR_AUTH_TOKEN \
-n "Node Name"

View File

@@ -29,7 +29,7 @@ done
# Download agent
echo "📦 Downloading agent..."
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor@main/agent/agent.sh -o "$AGENT"
curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor/agent/agent.sh -o "$AGENT"
chmod +x "$AGENT"
# Detect init system

View File

@@ -46,4 +46,4 @@ echo "🌐 Dashboard: http://$IP:$PORT"
echo "🔑 Auth Token: $TOKEN"
echo ""
echo "📡 Install agent on each node:"
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\""
echo " curl -fsSL https://cdn.jsdelivr.net/gh/xmg0828888/oc-monitor/install-agent.sh | bash -s -- -s http://$IP:$PORT -t $TOKEN -n \"NodeName\""