mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 08:40:20 +00:00
v0.6.1 优化CSS、服务报警、服务状态展示
This commit is contained in:
1 parent
c6980be09f
commit
a50c45a3ef
9 files changed
+87
-46
No files matched your search
@@ -54,7 +54,7 @@ func ServeWeb(port uint) {
|
||||
}
|
||||
if a == 0 {
|
||||
// 这是从未在线的情况
|
||||
return 1 / float32(b) * 100
|
||||
return 0.00001 / float32(b) * 100
|
||||
}
|
||||
return float32(a) / float32(b) * 100
|
||||
},
|
||||
@@ -67,7 +67,7 @@ func ServeWeb(port uint) {
|
||||
}
|
||||
if a == 0 {
|
||||
// 这是从未在线的情况
|
||||
return 1 / float32(b) * 100
|
||||
return 0.00001 / float32(b) * 100
|
||||
}
|
||||
return float32(a) / float32(b) * 100
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user