Skip to content

Commit

Permalink
remove cors-anywhere for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
marco79cgn authored Jun 3, 2024
1 parent ffb42b2 commit 3bca2e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions player.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,9 @@ var player = new Player(buildPlaylistForFirstEvent(firstEvent));
showPage();

function getNextEvent(isNotBlocking, self, callback) {
const xhr = new XMLHttpRequest();
xhr.open('get', 'https://cors-anywhere.herokuapp.com/'+flacApiNextEventUrl, isNotBlocking);
const xhr = new XMLHttpRequest();
// xhr.open('get', 'https://cors-anywhere.herokuapp.com/'+flacApiNextEventUrl, isNotBlocking);
xhr.open('get', flacApiNextEventUrl, isNotBlocking);
var result;
xhr.onload = function(e) {
result = JSON.parse(this.response);
Expand Down

0 comments on commit 3bca2e4

Please sign in to comment.