uptime-kuma/server/config.js

16 lines
344 B
JavaScript
Raw Normal View History

2021-10-15 11:57:26 -05:00
const args = require("args-parser")(process.argv);
const demoMode = args["demo"] || false;
2022-01-04 05:21:53 -06:00
const badgeConstants = {
naColor: "#999",
defaultUpColor: "#66c20a",
defaultDownColor: "#c2290a",
defaultPingColor: "blue", // as defined by badge-maker / shields.io
};
2021-10-15 11:57:26 -05:00
module.exports = {
args,
2022-01-04 05:21:53 -06:00
demoMode,
badgeConstants
2021-10-15 11:57:26 -05:00
};