From d280a9551cb95175799c35f0cf443abecc44437e Mon Sep 17 00:00:00 2001 From: Kautilya Date: Wed, 4 Jul 2018 14:20:54 +0530 Subject: [PATCH] Reverting back with cors Proxy api. --- miscellaneous/rescueTime.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miscellaneous/rescueTime.html b/miscellaneous/rescueTime.html index b5e52cd..0fd7f93 100644 --- a/miscellaneous/rescueTime.html +++ b/miscellaneous/rescueTime.html @@ -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');