From 470a7a264268c10fb5b8f9c4262fac5862c645cb Mon Sep 17 00:00:00 2001 From: naiba Date: Thu, 5 May 2022 22:39:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20`dashboard=20v0.13.12`=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20amazon=20linux=E3=80=81pve=20=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- resource/template/theme-default/home.html | 5 ++++- service/singleton/singleton.go | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 86a1047..2b995b2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-    +   

:trollface: Nezha Monitoring self-hosted lightweight monitoring and operation and maintenance system. Supports system status, HTTP (SSL certificate change, upcoming expiration, expiration), TCP, Ping monitoring and alerting, execute scheduled tasks and web terminal.

diff --git a/resource/template/theme-default/home.html b/resource/template/theme-default/home.html index 116c009..74130dc 100644 --- a/resource/template/theme-default/home.html +++ b/resource/template/theme-default/home.html @@ -179,9 +179,12 @@ > -1) { return str; } - if (str == 'openwrt') { + if (['openwrt','linux'].indexOf(str) > -1) { return 'tux'; } + if (str == 'amazon') { + return 'redhat'; + } return ''; }, group() { diff --git a/service/singleton/singleton.go b/service/singleton/singleton.go index 9ce197e..ed1bdb5 100644 --- a/service/singleton/singleton.go +++ b/service/singleton/singleton.go @@ -12,7 +12,7 @@ import ( "github.com/naiba/nezha/pkg/utils" ) -var Version = "v0.13.11" // !!记得修改 README 中的 badge 版本!! +var Version = "v0.13.12" // !!记得修改 README 中的 badge 版本!! var ( Conf *model.Config