From 43c66eccba4bcdcf61da3c856900338c11ba9c02 Mon Sep 17 00:00:00 2001 From: mango Date: Sun, 22 Feb 2026 20:56:12 +0800 Subject: [PATCH] fix: remove @main from jsdelivr URLs --- README.md | 4 ++-- install-agent.sh | 2 +- install.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e6dac34..d89ff86 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/install-agent.sh b/install-agent.sh index abe4b82..a2970b5 100755 --- a/install-agent.sh +++ b/install-agent.sh @@ -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 diff --git a/install.sh b/install.sh index 4a00204..e1e1a80 100755 --- a/install.sh +++ b/install.sh @@ -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\""