use the new epapi path

This commit is contained in:
Astra 2018-04-18 00:08:34 -04:00
parent 1b2d792d7b
commit d3e2d13526

View file

@ -43,7 +43,7 @@
if (!fs.existsSync(data + '/DONTUPDATE')) { if (!fs.existsSync(data + '/DONTUPDATE')) {
// grab EPAPI from master // grab EPAPI from master
fetch('https://endpwn.github.io/epapi.js?_=' + Date.now()) fetch('https://endpwn.github.io/epapi/epapi.js?_=' + Date.now())
.then(r => r.text()) .then(r => r.text())
.then(epapi => { .then(epapi => {
fs.writeFileSync(data + '/epapi.js', epapi); fs.writeFileSync(data + '/epapi.js', epapi);