diff --git a/README.md b/README.md
index 8826e06..748cc9a 100644
--- a/README.md
+++ b/README.md
@@ -52,27 +52,6 @@ sudo ./nezha.sh
websocket
}
```
-
-### 服务器位于大陆常见问题
-
-- Failed to connect to raw.githubusercontent.com
- 将以下内容写入hosts文件
- ```
- 199.232.68.133 raw.githubusercontent.com
- ```
-
-- 监控端下载慢
-
- 监控端主要涉及github域名有github.com及raw.githubusercontent.com,将这两个源替换为国内加速源即可
-
- - github.com源替换方案
-
- > sed -i 's/github.com/hub.fastgit.org/g' ./nezha.sh
-
- - raw.githubusercontent.com源替换方案
-
- > sed -i 's/raw.githubusercontent.com/raw.staticdn.net/g' ./nezha.sh
-
## 系统设计
C/S 采用 gRPC 通信,客户端通过添加主机生成的单独 Token 上报监控信息。因为不会做成多用户的,上报信息会储存到内存中,暂不提供历史数据统计。
diff --git a/resource/template/theme-hotaru/home.html b/resource/template/theme-hotaru/home.html
index 5e388e5..f2ad7e4 100644
--- a/resource/template/theme-hotaru/home.html
+++ b/resource/template/theme-hotaru/home.html
@@ -131,7 +131,9 @@
diff --git a/script/install.sh b/script/install.sh
index aedb717..4e13fc9 100755
--- a/script/install.sh
+++ b/script/install.sh
@@ -82,7 +82,7 @@ pre_check() {
fi
## server location
- if curl api.myip.la/json | grep -q 'China'; then
+ if curl -s api.myip.la/json | grep -q 'China'; then
GITHUB_RAW_URL="raw.staticdn.net"
GITHUB_URL="hub.fastgit.org"
fi
@@ -437,10 +437,10 @@ show_menu() {
show_dashboard_log
;;
7)
- install_agent
+ uninstall_dashboard
;;
8)
- uninstall_dashboard
+ install_agent
;;
9)
modify_agent_config