mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-05-12 13:04:51 +00:00
forgot the other one
This commit is contained in:
+1
-1
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user