Skip to content

Commit

Permalink
test something
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Jan 24, 2021
1 parent f02cb5c commit f278592
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,9 @@ function fetchData(options) {
url: ac_url[i], method: 'GET',
xhr: function() { return xhrOverride; },
timeout: 5000,
beforeSend: function(xhr) {
xhr.setRequestHeader('__cfduid', '1234');
},
});
} else {
req = $.ajax({ url: ac_url[i], dataType: 'json' });
Expand Down

0 comments on commit f278592

Please sign in to comment.