Skip to content

Commit

Permalink
Update player.js
Browse files Browse the repository at this point in the history
  • Loading branch information
marco79cgn authored Jun 3, 2024
1 parent a636995 commit 399bc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ showPage();
function getNextEvent(isNotBlocking, self, callback) {
const xhr = new XMLHttpRequest();
// xhr.open('get', 'https://cors-anywhere.herokuapp.com/'+flacApiNextEventUrl, isNotBlocking);
xhr.open('get', 'https://api.allorigins.win/get?url='+flacApiNextEventUrl, isNotBlocking);
xhr.open('get', 'https://api.allorigins.win/raw?url='+flacApiNextEventUrl, isNotBlocking);
var result;
xhr.onload = function(e) {
result = JSON.parse(this.response);
Expand Down

0 comments on commit 399bc87

Please sign in to comment.