Skip to content

Commit

Permalink
Update cookieAutoPlay.js
Browse files Browse the repository at this point in the history
oops
  • Loading branch information
rahidz authored Jul 26, 2020
1 parent 136a941 commit 5d1e2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookieAutoPlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Here, we just find the last stable release and load it.
console.log("### COOKIE clicker STABLE - linking to latest release");
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://api.github.com/repos/prinzstani/CookieBot/releases/latest', false);
xhr.open('GET', 'https://api.github.com/repos/rahidz/CookieBot/releases/latest', false);
xhr.send();
var response = JSON.parse(xhr.responseText);
var latest = "https://cdn.rawgit.com/prinzstani/CookieBot/" + response.tag_name + "/cookieAutoPlayBeta.js"
var latest = "https://cdn.rawgit.com/rahidz/CookieBot/" + response.tag_name + "/cookieAutoPlayBeta.js"
console.log("### LOADING FROM " + latest);
Game.LoadMod(latest);

0 comments on commit 5d1e2f1

Please sign in to comment.