diff --git a/README.md b/README.md index e985c48..2c49355 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-    +   

:trollface: Nezha Monitoring: Self-hostable, lightweight, servers and websites monitoring and O&M tool.

diff --git a/resource/template/theme-angel-kanade/home.html b/resource/template/theme-angel-kanade/home.html index 9bae666..83792d1 100644 --- a/resource/template/theme-angel-kanade/home.html +++ b/resource/template/theme-angel-kanade/home.html @@ -275,8 +275,7 @@ }, getK2Gb(bs){ - bs = bs / 1024 /1024 /1024; - return Math.ceil(bs.toFixed(2)) + 'GB'; + return (bs/1024/1024).toFixed(2) + 'GB' }, listTipsMouseenter(obj,strs,tipsNum=1){ this.layerIndex = layer.tips(strs, '#'+obj,{tips: [tipsNum, 'rgb(0 0 0 / 85%)'],time:0}); diff --git a/service/singleton/singleton.go b/service/singleton/singleton.go index b773dd1..fc79e6e 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.15.3" // !!记得修改 README 中的 badge 版本!! +var Version = "v0.15.4" // !!记得修改 README 中的 badge 版本!! var ( Conf *model.Config