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 @@