forgot the other one
This commit is contained in:
parent
040f931745
commit
e2cf4d2a2b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function saveUptimeObject(): void{
|
|||
saveTimeout = setTimeout(()=>{
|
||||
const data = Object.fromEntries(uptimeObject);
|
||||
fs.writeFile(
|
||||
path.join(__dirname, "..", "uptime.json"),
|
||||
process.env.UPTIMEJSON||path.join(__dirname, "..", "uptime.json"),
|
||||
JSON.stringify(data),
|
||||
error=>{
|
||||
if(error){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue