I am getting below problem when i try to upload a file on Google drive using save to drive button.
XMLHttpRequest cannot load https://ap1.salesforce.com/servlet/servlet.FileDownload?file=00P9000000jFRXN. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://c.ap1.visual.force.com' is therefore not allowed access.
XMLHttpRequest cannot load https://ap1.salesforce.com/servlet/servlet.FileDownload?file=00P9000000jFRXN. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://c.ap1.visual.force.com' is therefore not allowed access.
How i can solve above problem using enable "CORS".