Fix: Add support for maintenance in badges

This commit is contained in:
Nelson Chan 2023-01-03 21:45:55 +08:00
parent b8e8c1b9db
commit 942b55ca03
2 changed files with 34 additions and 3 deletions

View file

@ -5,6 +5,7 @@ const badgeConstants = {
naColor: "#999",
defaultUpColor: "#66c20a",
defaultDownColor: "#c2290a",
defaultMaintenanceColor: "#1747f5",
defaultPingColor: "blue", // as defined by badge-maker / shields.io
defaultStyle: "flat",
defaultPingValueSuffix: "ms",