add ping, status badge

This commit is contained in:
Jens Neuber
2022-01-04 12:21:53 +01:00
parent d74404e106
commit 3625915a85
3 changed files with 152 additions and 19 deletions

View File

@@ -1,7 +1,15 @@
const args = require("args-parser")(process.argv);
const demoMode = args["demo"] || false;
const badgeConstants = {
naColor: "#999",
defaultUpColor: "#66c20a",
defaultDownColor: "#c2290a",
defaultPingColor: "blue", // as defined by badge-maker / shields.io
};
module.exports = {
args,
demoMode
demoMode,
badgeConstants
};