diff --git a/server/server.js b/server/server.js index 8448b3c8a..d24cc0371 100644 --- a/server/server.js +++ b/server/server.js @@ -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");