From a9d521cada3f22b248fad7130fdefa3d3e8ab9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BC=9A=E9=A3=9E=E7=9A=84=E7=8C=AB?= Date: Sun, 1 Dec 2024 08:30:00 +0800 Subject: [PATCH] fix: use v0 install script (#503) --- resource/template/component/server.html | 4 ++-- resource/template/dashboard-default/server.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resource/template/component/server.html b/resource/template/component/server.html index daa59c3..6c32fde 100644 --- a/resource/template/component/server.html +++ b/resource/template/component/server.html @@ -53,7 +53,7 @@
{{if .Conf.GRPCHost}} - curl -L https://raw.githubusercontent.com/nezhahq/scripts/main/install.sh -o nezha.sh && chmod + curl -L https://raw.githubusercontent.com/nezhahq/scripts/refs/heads/v0/install.sh -o nezha.sh && chmod +x nezha.sh && ./nezha.sh install_agent {{.Conf.GRPCHost}} {{if .Conf.ProxyGRPCPort}}{{.Conf.ProxyGRPCPort}}{{else}}{{.Conf.GRPCPort}}{{end}} {{if .Conf.TLS}}--tls{{end}} @@ -70,4 +70,4 @@
-{{end}} \ No newline at end of file +{{end}} diff --git a/resource/template/dashboard-default/server.html b/resource/template/dashboard-default/server.html index 1ed6cdc..014ace1 100644 --- a/resource/template/dashboard-default/server.html +++ b/resource/template/dashboard-default/server.html @@ -55,17 +55,17 @@