fix: remove @main from jsdelivr 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)
|
### 1. Deploy Server (Docker)
|
||||||
|
|
||||||
```bash
|
```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:
|
This will:
|
||||||
@@ -35,7 +35,7 @@ This will:
|
|||||||
After server is running, install the agent on each OpenClaw node:
|
After server is running, install the agent on each OpenClaw node:
|
||||||
|
|
||||||
```bash
|
```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 \
|
-s http://YOUR_SERVER_IP:3800 \
|
||||||
-t YOUR_AUTH_TOKEN \
|
-t YOUR_AUTH_TOKEN \
|
||||||
-n "Node Name"
|
-n "Node Name"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ done
|
|||||||
|
|
||||||
# Download agent
|
# Download agent
|
||||||
echo "📦 Downloading 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"
|
chmod +x "$AGENT"
|
||||||
|
|
||||||
# Detect init system
|
# Detect init system
|
||||||
|
|||||||
@@ -46,4 +46,4 @@ echo "🌐 Dashboard: http://$IP:$PORT"
|
|||||||
echo "🔑 Auth Token: $TOKEN"
|
echo "🔑 Auth Token: $TOKEN"
|
||||||
echo ""
|
echo ""
|
||||||
echo "📡 Install agent on each node:"
|
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\""
|
||||||
|
|||||||
Reference in New Issue
Block a user