Skip to content

Commit

Permalink
Reverting back with cors Proxy api.
Browse files Browse the repository at this point in the history
  • Loading branch information
SensehacK committed Jul 4, 2018
1 parent 8b6ffd8 commit d280a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miscellaneous/rescueTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"https://www.rescuetime.com/anapi/daily_summary_feed?key=B635Rcwq0kDCH985GxxyhFe5KQ_Elq3cy_hIZJTZ"

// call url
request.open('GET', rescueTimeCors2);
request.open('GET', getRescueTimeX);

// var xhr = createCORSRequest('GET', getRescueTime);
// xhr.send();

// request.setRequestHeader('Content-Type', 'application/json');
// request.setRequestHeader('rescueTime-api-version', '2');
request.setRequestHeader('Access-Control-Allow-Origin', '*');
// request.setRequestHeader('Access-Control-Allow-Origin', '*');
// Client ID of Trial 2 cors.io
// request.setRequestHeader('rescueTime-api-key', 'e76f84733301c6380989637d3c7cc0394f58ae5046b94649d9d65f18e31e43fa');

Expand Down

0 comments on commit d280a95

Please sign in to comment.