mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 22:49:42 -08:00
16 lines
344 B
JavaScript
16 lines
344 B
JavaScript
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,
|
|
badgeConstants
|
|
};
|