diff --git a/README.md b/README.md index 2c49355..2f2e54d 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 83792d1..f13f153 100644 --- a/resource/template/theme-angel-kanade/home.html +++ b/resource/template/theme-angel-kanade/home.html @@ -100,9 +100,9 @@
@#getCoreAndGHz(server.Host.CPU)#@   - @#getK2Gb(server.Host.MemTotal)#@ + @#getByteToGB(server.Host.MemTotal)#@   - @#getK2Gb(server.Host.DiskTotal)#@ + @#getByteToGB(server.Host.DiskTotal)#@
{{tr "Uptime"}}
@@ -274,8 +274,8 @@ return Core.replace('Physical','Core'); }, - getK2Gb(bs){ - return (bs/1024/1024).toFixed(2) + 'GB' + getByteToGB(bs){ + return (bs/1024/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 fc79e6e..4d8db07 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.4" // !!记得修改 README 中的 badge 版本!! +var Version = "v0.15.5" // !!记得修改 README 中的 badge 版本!! var ( Conf *model.Config