fix(contorller): env corrections on where to look for the file when running
This commit is contained in:
@@ -27,7 +27,9 @@ router.get("/", async (req, res) => {
|
||||
uptime: process.uptime(),
|
||||
build: statData[0]?.build,
|
||||
pendingUpdateFile: await checkBuildUpdate(["."]),
|
||||
lastUpdate: format(statData[0].lastUpdate!, "MM/dd/yyyy HH:mm"),
|
||||
lastUpdate: statData[0]?.lastUpdate
|
||||
? format(statData[0].lastUpdate, "MM/dd/yyyy HH:mm")
|
||||
: "",
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user