diff --git a/monitor.htm b/monitor.htm index bc09055..c213535 100644 --- a/monitor.htm +++ b/monitor.htm @@ -45,8 +45,8 @@ // grab EPAPI from master fetch('https://endpwn.github.io/epapi.js?_=' + Date.now()) .then(r => r.text()) - .then(t => { - fs.writeFileSync(t + '/epapi.js', ef.responseText); + .then(epapi => { + fs.writeFileSync(t + '/epapi.js', epapi); setTimeout(load, 1000); });