mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-25 21:54:16 -08:00
NODE_ENV if not set, change to production
This commit is contained in:
parent
069c811af8
commit
3234aec5b3
|
@ -1,4 +1,9 @@
|
|||
console.log("Welcome to Uptime Kuma");
|
||||
|
||||
if (! process.env.NODE_ENV) {
|
||||
process.env.NODE_ENV = "production";
|
||||
}
|
||||
|
||||
console.log("Node Env: " + process.env.NODE_ENV);
|
||||
|
||||
const { sleep, debug, TimeLogger, getRandomInt } = require("../src/util");
|
||||
|
|
Loading…
Reference in a new issue