1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-24 22:14:47 +02:00
uptime-kuma/server/config.js

21 lines
508 B
JavaScript
Raw Normal View History

2021-10-15 18:57:26 +02:00
const args = require("args-parser")(process.argv);
const demoMode = args["demo"] || false;
2022-01-04 13:21:53 +02:00
const badgeConstants = {
naColor: "#999",
defaultUpColor: "#66c20a",
defaultDownColor: "#c2290a",
defaultPingColor: "blue", // as defined by badge-maker / shields.io
defaultStyle: "flat",
defaultPingValueSuffix: "ms",
defaultPingLabelSuffix: "h",
defaultUptimeValueSuffix: "%",
defaultUptimeLabelSuffix: "h",
2022-01-04 13:21:53 +02:00
};
2021-10-15 18:57:26 +02:00
module.exports = {
args,
2022-01-04 13:21:53 +02:00
demoMode,
2022-01-04 17:01:40 +02:00
badgeConstants,
2021-10-15 18:57:26 +02:00
};